#9A39CE#9A39CE

#9A39CE is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.0% C 0.222 H 310.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9A39CE
RGBrgb(154, 57, 206)
HSLhsl(279, 60%, 52%)
HSVhsv(279, 72%, 81%)
CMYKcmyk(25.2%, 72.3%, 0%, 19.2%)
CIE-LABlab(44.59, 63.10, -59.28)
CIE-LCHlch(44.59, 86.58, 316.78°)
OKLaboklab(55.04% 0.1452 -0.1678)
OKLCHoklch(55.04% 0.222 310.9)
XYZxyz(25.9280, 14.2531, 59.7658)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A39CE #6DCE39
analogous
#5039CE #9A39CE #CE39B8
triadic
#9A39CE #CE9A39 #39CE9A
tetradic
#9A39CE #CE5039 #6DCE39 #39B8CE
square
#9A39CE #CE5039 #6DCE39 #39B8CE
split-complementary
#9A39CE #B8CE39 #39CE50
monochromatic
#531C71 #7728A2 #9A39CE #B36ADA #CC9BE6

Accessibility & contrast

On white

5.45
#9A39CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9A39CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A39CE
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A39CE#FFFFFF#000000##FFFFFF
##9A39CE1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#1E6BCB
Tritanopia (blue-blind)
#935B80
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a39ce;
/* rgb */ color: rgb(154, 57, 206);
/* oklch */ color: oklch(55.0% 0.222 310.9);
Tailwind
colors: {
  custom: {
    50: '#bc78de',
    500: '#9a39ce',
    950: '#000000',
  },
}
SCSS
$custom: #9a39ce;
$custom-light: #bc78de;
$custom-dark: #000000;
JSON
{
  "hex": "#9a39ce",
  "rgb": {
    "r": 154,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 279.06,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55043,
    "c": 0.22185,
    "h": 310.9
  },
  "luminance": 0.14253
}

Semantic roles & 50–950 ramp

primary
#9A39CE
secondary
#A8D291
accent
#E3447C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9A39CE

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

Preview Lab → · Contrast checker → · Palette generator →

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