#9F39DF#9F39DF

#9F39DF is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.9% C 0.239 H 308.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9F39DF
RGBrgb(159, 57, 223)
HSLhsl(277, 72%, 55%)
HSVhsv(277, 74%, 87%)
CMYKcmyk(28.7%, 74.4%, 0%, 12.5%)
CIE-LABlab(46.48, 67.60, -65.94)
CIE-LCHlch(46.48, 94.43, 315.71°)
OKLaboklab(56.9% 0.1488 -0.1872)
OKLCHoklch(56.9% 0.239 308.5)
XYZxyz(29.0777, 15.6254, 71.2819)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F39DF #79DF39
analogous
#4C39DF #9F39DF #DF39CC
triadic
#9F39DF #DF9F39 #39DF9F
tetradic
#9F39DF #DF4C39 #79DF39 #39CCDF
square
#9F39DF #DF4C39 #79DF39 #39CCDF
split-complementary
#9F39DF #CCDF39 #39DF4C
monochromatic
#5C1688 #7F1EBC #9F39DF #B96EE8 #D2A2F0

Accessibility & contrast

On white

5.09
#9F39DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9F39DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F39DF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F39DF#FFFFFF#000000##FFFFFF
##9F39DF1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE4
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#95618A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9f39df;
/* rgb */ color: rgb(159, 57, 223);
/* oklch */ color: oklch(56.9% 0.239 308.5);
Tailwind
colors: {
  custom: {
    50: '#c179ea',
    500: '#9f39df',
    950: '#000000',
  },
}
SCSS
$custom: #9f39df;
$custom-light: #c179ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9f39df",
  "rgb": {
    "r": 159,
    "g": 57,
    "b": 223
  },
  "hsl": {
    "h": 276.867,
    "s": 72.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56897,
    "c": 0.23911,
    "h": 308.5
  },
  "luminance": 0.15625
}

Semantic roles & 50–950 ramp

primary
#9F39DF
secondary
#B2DD97
accent
#EF397F
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9F39DF

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

Preview Lab → · Contrast checker → · Palette generator →

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