#9F3BB8#9F3BB8

#9F3BB8 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.4% C 0.201 H 318.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9F3BB8
RGBrgb(159, 59, 184)
HSLhsl(288, 51%, 48%)
HSVhsv(288, 68%, 72%)
CMYKcmyk(13.6%, 67.9%, 0%, 27.8%)
CIE-LABlab(44.18, 58.88, -47.12)
CIE-LCHlch(44.18, 75.42, 321.33°)
OKLaboklab(54.44% 0.1514 -0.132)
OKLCHoklch(54.44% 0.201 318.9)
XYZxyz(24.5126, 13.9607, 46.7416)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3BB8 #54B83B
analogous
#613BB8 #9F3BB8 #B83B92
triadic
#9F3BB8 #B89F3B #3BB89F
tetradic
#9F3BB8 #B8613B #54B83B #3B92B8
square
#9F3BB8 #B8613B #54B83B #3B92B8
split-complementary
#9F3BB8 #92B83B #3BB861
monochromatic
#4F1D5B #772C8A #9F3BB8 #B863CD #CD92DC

Accessibility & contrast

On white

5.54
#9F3BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9F3BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3BB8
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3BB8#FFFFFF#000000##FFFFFF
##9F3BB81.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0262BC
Deuteranopia (green-blind)
#436CB5
Tritanopia (blue-blind)
#9F5275
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f3bb8;
/* rgb */ color: rgb(159, 59, 184);
/* oklch */ color: oklch(54.4% 0.201 318.9);
Tailwind
colors: {
  custom: {
    50: '#bf79ce',
    500: '#9f3bb8',
    950: '#000000',
  },
}
SCSS
$custom: #9f3bb8;
$custom-light: #bf79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3bb8",
  "rgb": {
    "r": 159,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 288,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5444,
    "c": 0.20086,
    "h": 318.9
  },
  "luminance": 0.1396
}

Semantic roles & 50–950 ramp

primary
#9F3BB8
secondary
#94C788
accent
#DB4D69
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #9F3BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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