#9F39CC#9F39CC

#9F39CC is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.5% C 0.222 H 313.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9F39CC
RGBrgb(159, 57, 204)
HSLhsl(282, 59%, 51%)
HSVhsv(282, 72%, 80%)
CMYKcmyk(22.1%, 72.1%, 0%, 20%)
CIE-LABlab(45.16, 63.66, -57.18)
CIE-LCHlch(45.16, 85.57, 318.07°)
OKLaboklab(55.55% 0.1518 -0.1614)
OKLCHoklch(55.55% 0.222 313.2)
XYZxyz(26.6584, 14.6576, 58.5400)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F39CC #66CC39
analogous
#5539CC #9F39CC #CC39AF
triadic
#9F39CC #CC9F39 #39CC9F
tetradic
#9F39CC #CC5539 #66CC39 #39AFCC
square
#9F39CC #CC5539 #66CC39 #39AFCC
split-complementary
#9F39CC #AFCC39 #39CC55
monochromatic
#551C6E #7B299F #9F39CC #B76AD9 #CE9AE5

Accessibility & contrast

On white

5.34
#9F39CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9F39CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F39CC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F39CC#FFFFFF#000000##FFFFFF
##9F39CC1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#2C6DC9
Tritanopia (blue-blind)
#9A597F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9f39cc;
/* rgb */ color: rgb(159, 57, 204);
/* oklch */ color: oklch(55.5% 0.222 313.2);
Tailwind
colors: {
  custom: {
    50: '#c079dc',
    500: '#9f39cc',
    950: '#000000',
  },
}
SCSS
$custom: #9f39cc;
$custom-light: #c079dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f39cc",
  "rgb": {
    "r": 159,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 281.633,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55549,
    "c": 0.22158,
    "h": 313.2
  },
  "luminance": 0.14657
}

Semantic roles & 50–950 ramp

primary
#9F39CC
secondary
#A4D190
accent
#E24676
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F39CC

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

Preview Lab → · Contrast checker → · Palette generator →

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