#9F39CD#9F39CD

#9F39CD is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.223 H 313.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9F39CD
RGBrgb(159, 57, 205)
HSLhsl(281, 60%, 51%)
HSVhsv(281, 72%, 80%)
CMYKcmyk(22.4%, 72.2%, 0%, 19.6%)
CIE-LABlab(45.23, 63.87, -57.65)
CIE-LCHlch(45.23, 86.04, 317.93°)
OKLaboklab(55.62% 0.1517 -0.1628)
OKLCHoklch(55.62% 0.223 313)
XYZxyz(26.7787, 14.7058, 59.1736)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F39CD #67CD39
analogous
#5539CD #9F39CD #CD39B1
triadic
#9F39CD #CD9F39 #39CD9F
tetradic
#9F39CD #CD5539 #67CD39 #39B1CD
square
#9F39CD #CD5539 #67CD39 #39B1CD
split-complementary
#9F39CD #B1CD39 #39CD55
monochromatic
#561C6F #7B28A0 #9F39CD #B76AD9 #CE9BE6

Accessibility & contrast

On white

5.33
#9F39CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9F39CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F39CD
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F39CD#FFFFFF#000000##FFFFFF
##9F39CD1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#2A6DCA
Tritanopia (blue-blind)
#9A5980
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9f39cd;
/* rgb */ color: rgb(159, 57, 205);
/* oklch */ color: oklch(55.6% 0.223 313.0);
Tailwind
colors: {
  custom: {
    50: '#c079dd',
    500: '#9f39cd',
    950: '#000000',
  },
}
SCSS
$custom: #9f39cd;
$custom-light: #c079dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f39cd",
  "rgb": {
    "r": 159,
    "g": 57,
    "b": 205
  },
  "hsl": {
    "h": 281.351,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55617,
    "c": 0.2225,
    "h": 313
  },
  "luminance": 0.14705
}

Semantic roles & 50–950 ramp

primary
#9F39CD
secondary
#A5D290
accent
#E34576
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F39CD

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

Preview Lab → · Contrast checker → · Palette generator →

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