#9A39CD#9A39CD

#9A39CD is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 55.0% C 0.221 H 311.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9A39CD
RGBrgb(154, 57, 205)
HSLhsl(279, 60%, 51%)
HSVhsv(279, 72%, 80%)
CMYKcmyk(24.9%, 72.2%, 0%, 19.6%)
CIE-LABlab(44.53, 62.89, -58.82)
CIE-LCHlch(44.53, 86.10, 316.91°)
OKLaboklab(54.97% 0.1453 -0.1664)
OKLCHoklch(54.97% 0.221 311.1)
XYZxyz(25.8069, 14.2047, 59.1281)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A39CD #6CCD39
analogous
#5039CD #9A39CD #CD39B6
triadic
#9A39CD #CD9A39 #39CD9A
tetradic
#9A39CD #CD5039 #6CCD39 #39B6CD
square
#9A39CD #CD5039 #6CCD39 #39B6CD
split-complementary
#9A39CD #B6CD39 #39CD50
monochromatic
#531C6F #7728A0 #9A39CD #B36AD9 #CC9BE6

Accessibility & contrast

On white

5.47
#9A39CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9A39CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A39CD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A39CD#FFFFFF#000000##FFFFFF
##9A39CD1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#206BCA
Tritanopia (blue-blind)
#935A80
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a39cd;
/* rgb */ color: rgb(154, 57, 205);
/* oklch */ color: oklch(55.0% 0.221 311.1);
Tailwind
colors: {
  custom: {
    50: '#bc78dd',
    500: '#9a39cd',
    950: '#000000',
  },
}
SCSS
$custom: #9a39cd;
$custom-light: #bc78dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a39cd",
  "rgb": {
    "r": 154,
    "g": 57,
    "b": 205
  },
  "hsl": {
    "h": 279.324,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54973,
    "c": 0.22092,
    "h": 311.1
  },
  "luminance": 0.14204
}

Semantic roles & 50–950 ramp

primary
#9A39CD
secondary
#A7D290
accent
#E3457B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9A39CD

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

Preview Lab → · Contrast checker → · Palette generator →

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