#9F39BA#9F39BA

#9F39BA is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.4% C 0.205 H 318.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9F39BA
RGBrgb(159, 57, 186)
HSLhsl(287, 53%, 48%)
HSVhsv(287, 69%, 73%)
CMYKcmyk(14.5%, 69.4%, 0%, 27.1%)
CIE-LABlab(44.01, 60.09, -48.56)
CIE-LCHlch(44.01, 77.26, 321.05°)
OKLaboklab(54.36% 0.1535 -0.1362)
OKLCHoklch(54.36% 0.205 318.4)
XYZxyz(24.6229, 13.8435, 47.8199)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F39BA #54BA39
analogous
#5F39BA #9F39BA #BA3994
triadic
#9F39BA #BA9F39 #39BA9F
tetradic
#9F39BA #BA5F39 #54BA39 #3994BA
square
#9F39BA #BA5F39 #54BA39 #3994BA
split-complementary
#9F39BA #94BA39 #39BA5F
monochromatic
#4F1C5C #772B8B #9F39BA #B861CF #CD90DD

Accessibility & contrast

On white

5.57
#9F39BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9F39BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F39BA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F39BA#FFFFFF#000000##FFFFFF
##9F39BA1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#406BB7
Tritanopia (blue-blind)
#9F5275
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f39ba;
/* rgb */ color: rgb(159, 57, 186);
/* oklch */ color: oklch(54.4% 0.205 318.4);
Tailwind
colors: {
  custom: {
    50: '#bf78cf',
    500: '#9f39ba',
    950: '#000000',
  },
}
SCSS
$custom: #9f39ba;
$custom-light: #bf78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f39ba",
  "rgb": {
    "r": 159,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 287.442,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54358,
    "c": 0.20518,
    "h": 318.4
  },
  "luminance": 0.13842
}

Semantic roles & 50–950 ramp

primary
#9F39BA
secondary
#94C887
accent
#DC4B6A
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F39BA

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

Preview Lab → · Contrast checker → · Palette generator →

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