#9F39C8#9F39C8

#9F39C8 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.3% C 0.218 H 314.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9F39C8
RGBrgb(159, 57, 200)
HSLhsl(283, 57%, 50%)
HSVhsv(283, 72%, 78%)
CMYKcmyk(20.5%, 71.5%, 0%, 21.6%)
CIE-LABlab(44.90, 62.85, -55.29)
CIE-LCHlch(44.90, 83.71, 318.66°)
OKLaboklab(55.28% 0.1523 -0.1559)
OKLCHoklch(55.28% 0.218 314.3)
XYZxyz(26.1848, 14.4682, 56.0457)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F39C8 #62C839
analogous
#5739C8 #9F39C8 #C839AA
triadic
#9F39C8 #C89F39 #39C89F
tetradic
#9F39C8 #C85739 #62C839 #39AAC8
square
#9F39C8 #C85739 #62C839 #39AAC8
split-complementary
#9F39C8 #AAC839 #39C857
monochromatic
#541D69 #7A2B99 #9F39C8 #B669D5 #CD99E3

Accessibility & contrast

On white

5.39
#9F39C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9F39C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F39C8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F39C8#FFFFFF#000000##FFFFFF
##9F39C81.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#316DC5
Tritanopia (blue-blind)
#9B577D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f39c8;
/* rgb */ color: rgb(159, 57, 200);
/* oklch */ color: oklch(55.3% 0.218 314.3);
Tailwind
colors: {
  custom: {
    50: '#c079d9',
    500: '#9f39c8',
    950: '#000000',
  },
}
SCSS
$custom: #9f39c8;
$custom-light: #c079d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f39c8",
  "rgb": {
    "r": 159,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 282.797,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55276,
    "c": 0.21792,
    "h": 314.3
  },
  "luminance": 0.14467
}

Semantic roles & 50–950 ramp

primary
#9F39C8
secondary
#A1CE8F
accent
#E04874
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F39C8

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

Preview Lab → · Contrast checker → · Palette generator →

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