#9F39DA#9F39DA

#9F39DA is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.5% C 0.234 H 309.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9F39DA
RGBrgb(159, 57, 218)
HSLhsl(278, 69%, 54%)
HSVhsv(278, 74%, 85%)
CMYKcmyk(27.1%, 73.9%, 0%, 14.5%)
CIE-LABlab(46.12, 66.55, -63.66)
CIE-LCHlch(46.12, 92.10, 316.27°)
OKLaboklab(56.53% 0.1497 -0.1805)
OKLCHoklch(56.53% 0.234 309.7)
XYZxyz(28.4136, 15.3597, 67.7840)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F39DA #74DA39
analogous
#4F39DA #9F39DA #DA39C5
triadic
#9F39DA #DA9F39 #39DA9F
tetradic
#9F39DA #DA4F39 #74DA39 #39C5DA
square
#9F39DA #DA4F39 #74DA39 #39C5DA
split-complementary
#9F39DA #C5DA39 #39DA4F
monochromatic
#5A1881 #7E22B4 #9F39DA #B86DE4 #D1A0ED

Accessibility & contrast

On white

5.16
#9F39DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9F39DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F39DA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F39DA#FFFFFF#000000##FFFFFF
##9F39DA1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DF
Deuteranopia (green-blind)
#096FD7
Tritanopia (blue-blind)
#965F87
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9f39da;
/* rgb */ color: rgb(159, 57, 218);
/* oklch */ color: oklch(56.5% 0.234 309.7);
Tailwind
colors: {
  custom: {
    50: '#c179e6',
    500: '#9f39da',
    950: '#000000',
  },
}
SCSS
$custom: #9f39da;
$custom-light: #c179e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f39da",
  "rgb": {
    "r": 159,
    "g": 57,
    "b": 218
  },
  "hsl": {
    "h": 278.012,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56534,
    "c": 0.23449,
    "h": 309.7
  },
  "luminance": 0.15359
}

Semantic roles & 50–950 ramp

primary
#9F39DA
secondary
#AEDA95
accent
#EB3C7D
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9F39DA

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

Preview Lab → · Contrast checker → · Palette generator →

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