#9D39CF#9D39CF

#9D39CF is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.5% C 0.224 H 311.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9D39CF
RGBrgb(157, 57, 207)
HSLhsl(280, 61%, 52%)
HSVhsv(280, 72%, 81%)
CMYKcmyk(24.2%, 72.5%, 0%, 18.8%)
CIE-LABlab(45.08, 63.89, -59.05)
CIE-LCHlch(45.08, 87.00, 317.25°)
OKLaboklab(55.5% 0.1489 -0.167)
OKLCHoklch(55.5% 0.224 311.7)
XYZxyz(26.6281, 14.6000, 60.4348)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D39CF #6BCF39
analogous
#5239CF #9D39CF #CF39B6
triadic
#9D39CF #CF9D39 #39CF9D
tetradic
#9D39CF #CF5239 #6BCF39 #39B6CF
square
#9D39CF #CF5239 #6BCF39 #39B6CF
split-complementary
#9D39CF #B6CF39 #39CF52
monochromatic
#551C72 #7A28A3 #9D39CF #B56ADB #CE9CE7

Accessibility & contrast

On white

5.36
#9D39CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9D39CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D39CF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D39CF#FFFFFF#000000##FFFFFF
##9D39CF1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#236DCC
Tritanopia (blue-blind)
#975B81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9d39cf;
/* rgb */ color: rgb(157, 57, 207);
/* oklch */ color: oklch(55.5% 0.224 311.7);
Tailwind
colors: {
  custom: {
    50: '#bf79de',
    500: '#9d39cf',
    950: '#000000',
  },
}
SCSS
$custom: #9d39cf;
$custom-light: #bf79de;
$custom-dark: #000000;
JSON
{
  "hex": "#9d39cf",
  "rgb": {
    "r": 157,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 280,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55498,
    "c": 0.22371,
    "h": 311.7
  },
  "luminance": 0.14599
}

Semantic roles & 50–950 ramp

primary
#9D39CF
secondary
#A7D391
accent
#E44479
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D39CF

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

Preview Lab → · Contrast checker → · Palette generator →

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