#9D39D0#9D39D0

#9D39D0 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.6% C 0.225 H 311.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9D39D0
RGBrgb(157, 57, 208)
HSLhsl(280, 62%, 52%)
HSVhsv(280, 73%, 82%)
CMYKcmyk(24.5%, 72.6%, 0%, 18.4%)
CIE-LABlab(45.15, 64.09, -59.52)
CIE-LCHlch(45.15, 87.46, 317.12°)
OKLaboklab(55.57% 0.1487 -0.1684)
OKLCHoklch(55.57% 0.225 311.5)
XYZxyz(26.7508, 14.6491, 61.0807)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D39D0 #6CD039
analogous
#5239D0 #9D39D0 #D039B8
triadic
#9D39D0 #D09D39 #39D09D
tetradic
#9D39D0 #D05239 #6CD039 #39B8D0
square
#9D39D0 #D05239 #6CD039 #39B8D0
split-complementary
#9D39D0 #B8D039 #39D052
monochromatic
#561B73 #7A27A5 #9D39D0 #B56ADC #CE9CE7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D39D0#FFFFFF#000000##FFFFFF
##9D39D01.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)
#0066D4
Deuteranopia (green-blind)
#216DCD
Tritanopia (blue-blind)
#975B82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9d39d0;
/* rgb */ color: rgb(157, 57, 208);
/* oklch */ color: oklch(55.6% 0.225 311.5);
Tailwind
colors: {
  custom: {
    50: '#bf79df',
    500: '#9d39d0',
    950: '#000000',
  },
}
SCSS
$custom: #9d39d0;
$custom-light: #bf79df;
$custom-dark: #000000;
JSON
{
  "hex": "#9d39d0",
  "rgb": {
    "r": 157,
    "g": 57,
    "b": 208
  },
  "hsl": {
    "h": 279.735,
    "s": 61.633,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55568,
    "c": 0.22464,
    "h": 311.5
  },
  "luminance": 0.14648
}

Semantic roles & 50–950 ramp

primary
#9D39D0
secondary
#A8D391
accent
#E5437A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D39D0

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

Preview Lab → · Contrast checker → · Palette generator →

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