#9A39CF#9A39CF

#9A39CF is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.1% C 0.223 H 310.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9A39CF
RGBrgb(154, 57, 207)
HSLhsl(279, 61%, 52%)
HSVhsv(279, 72%, 81%)
CMYKcmyk(25.6%, 72.5%, 0%, 18.8%)
CIE-LABlab(44.66, 63.30, -59.75)
CIE-LCHlch(44.66, 87.05, 316.66°)
OKLaboklab(55.11% 0.145 -0.1691)
OKLCHoklch(55.11% 0.223 310.6)
XYZxyz(26.0499, 14.3019, 60.4077)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A39CF #6ECF39
analogous
#4F39CF #9A39CF #CF39B9
triadic
#9A39CF #CF9A39 #39CF9A
tetradic
#9A39CF #CF4F39 #6ECF39 #39B9CF
square
#9A39CF #CF4F39 #6ECF39 #39B9CF
split-complementary
#9A39CF #B9CF39 #39CF4F
monochromatic
#531C72 #7828A3 #9A39CF #B36ADB #CC9CE7

Accessibility & contrast

On white

5.44
#9A39CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9A39CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A39CF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A39CF#FFFFFF#000000##FFFFFF
##9A39CF1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#1C6BCC
Tritanopia (blue-blind)
#935B81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9a39cf;
/* rgb */ color: rgb(154, 57, 207);
/* oklch */ color: oklch(55.1% 0.223 310.6);
Tailwind
colors: {
  custom: {
    50: '#bc78de',
    500: '#9a39cf',
    950: '#000000',
  },
}
SCSS
$custom: #9a39cf;
$custom-light: #bc78de;
$custom-dark: #000000;
JSON
{
  "hex": "#9a39cf",
  "rgb": {
    "r": 154,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 278.8,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55114,
    "c": 0.22279,
    "h": 310.6
  },
  "luminance": 0.14301
}

Semantic roles & 50–950 ramp

primary
#9A39CF
secondary
#A8D391
accent
#E4447C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9A39CF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9A39CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva