#9F3BB9#9F3BB9

#9F3BB9 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.5% C 0.202 H 318.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9F3BB9
RGBrgb(159, 59, 185)
HSLhsl(288, 52%, 48%)
HSVhsv(288, 68%, 73%)
CMYKcmyk(14.1%, 68.1%, 0%, 27.5%)
CIE-LABlab(44.24, 59.08, -47.61)
CIE-LCHlch(44.24, 75.87, 321.13°)
OKLaboklab(54.5% 0.1514 -0.1334)
OKLCHoklch(54.5% 0.202 318.6)
XYZxyz(24.6178, 14.0027, 47.2956)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3BB9 #55B93B
analogous
#603BB9 #9F3BB9 #B93B94
triadic
#9F3BB9 #B99F3B #3BB99F
tetradic
#9F3BB9 #B9603B #55B93B #3B94B9
square
#9F3BB9 #B9603B #55B93B #3B94B9
split-complementary
#9F3BB9 #94B93B #3BB960
monochromatic
#4F1D5C #772C8B #9F3BB9 #B864CD #CD92DC

Accessibility & contrast

On white

5.53
#9F3BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9F3BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3BB9
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3BB9#FFFFFF#000000##FFFFFF
##9F3BB91.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BD
Deuteranopia (green-blind)
#426CB6
Tritanopia (blue-blind)
#9F5275
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9f3bb9;
/* rgb */ color: rgb(159, 59, 185);
/* oklch */ color: oklch(54.5% 0.202 318.6);
Tailwind
colors: {
  custom: {
    50: '#bf79cf',
    500: '#9f3bb9',
    950: '#000000',
  },
}
SCSS
$custom: #9f3bb9;
$custom-light: #bf79cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3bb9",
  "rgb": {
    "r": 159,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 287.619,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54502,
    "c": 0.20177,
    "h": 318.6
  },
  "luminance": 0.14002
}

Semantic roles & 50–950 ramp

primary
#9F3BB9
secondary
#95C788
accent
#DB4D6A
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #9F3BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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