#9F39CF#9F39CF

#9F39CF is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.8% C 0.224 H 312.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9F39CF
RGBrgb(159, 57, 207)
HSLhsl(281, 61%, 52%)
HSVhsv(281, 72%, 81%)
CMYKcmyk(23.2%, 72.5%, 0%, 18.8%)
CIE-LABlab(45.36, 64.28, -58.58)
CIE-LCHlch(45.36, 86.97, 317.65°)
OKLaboklab(55.76% 0.1514 -0.1656)
OKLCHoklch(55.76% 0.224 312.4)
XYZxyz(27.0216, 14.8029, 60.4532)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F39CF #69CF39
analogous
#5439CF #9F39CF #CF39B4
triadic
#9F39CF #CF9F39 #39CF9F
tetradic
#9F39CF #CF5439 #69CF39 #39B4CF
square
#9F39CF #CF5439 #69CF39 #39B4CF
split-complementary
#9F39CF #B4CF39 #39CF54
monochromatic
#561C72 #7C28A3 #9F39CF #B76ADB #CF9CE7

Accessibility & contrast

On white

5.30
#9F39CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9F39CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F39CF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F39CF#FFFFFF#000000##FFFFFF
##9F39CF1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#276DCC
Tritanopia (blue-blind)
#995A81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9f39cf;
/* rgb */ color: rgb(159, 57, 207);
/* oklch */ color: oklch(55.8% 0.224 312.4);
Tailwind
colors: {
  custom: {
    50: '#c079de',
    500: '#9f39cf',
    950: '#000000',
  },
}
SCSS
$custom: #9f39cf;
$custom-light: #c079de;
$custom-dark: #000000;
JSON
{
  "hex": "#9f39cf",
  "rgb": {
    "r": 159,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 280.8,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55756,
    "c": 0.22434,
    "h": 312.4
  },
  "luminance": 0.14802
}

Semantic roles & 50–950 ramp

primary
#9F39CF
secondary
#A6D391
accent
#E44477
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F39CF

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

Preview Lab → · Contrast checker → · Palette generator →

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