#9F3BBD#9F3BBD

#9F3BBD is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.8% C 0.205 H 317.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9F3BBD
RGBrgb(159, 59, 189)
HSLhsl(286, 52%, 49%)
HSVhsv(286, 69%, 74%)
CMYKcmyk(15.9%, 68.8%, 0%, 25.9%)
CIE-LABlab(44.48, 59.86, -49.56)
CIE-LCHlch(44.48, 77.71, 320.38°)
OKLaboklab(54.76% 0.1512 -0.1391)
OKLCHoklch(54.76% 0.205 317.4)
XYZxyz(25.0460, 14.1740, 49.5508)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3BBD #59BD3B
analogous
#5E3BBD #9F3BBD #BD3B9A
triadic
#9F3BBD #BD9F3B #3BBD9F
tetradic
#9F3BBD #BD5E3B #59BD3B #3B9ABD
square
#9F3BBD #BD5E3B #59BD3B #3B9ABD
split-complementary
#9F3BBD #9ABD3B #3BBD5E
monochromatic
#511E60 #782C8E #9F3BBD #B766CF #CD95DE

Accessibility & contrast

On white

5.48
#9F3BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9F3BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3BBD
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3BBD#FFFFFF#000000##FFFFFF
##9F3BBD1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#3F6CBA
Tritanopia (blue-blind)
#9E5478
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9f3bbd;
/* rgb */ color: rgb(159, 59, 189);
/* oklch */ color: oklch(54.8% 0.205 317.4);
Tailwind
colors: {
  custom: {
    50: '#bf79d1',
    500: '#9f3bbd',
    950: '#000000',
  },
}
SCSS
$custom: #9f3bbd;
$custom-light: #bf79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3bbd",
  "rgb": {
    "r": 159,
    "g": 59,
    "b": 189
  },
  "hsl": {
    "h": 286.154,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54756,
    "c": 0.20544,
    "h": 317.4
  },
  "luminance": 0.14173
}

Semantic roles & 50–950 ramp

primary
#9F3BBD
secondary
#99C98B
accent
#DC4C6D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #9F3BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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