#9F3BCB#9F3BCB

#9F3BCB is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.218 H 313.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9F3BCB
RGBrgb(159, 59, 203)
HSLhsl(282, 58%, 51%)
HSVhsv(282, 71%, 80%)
CMYKcmyk(21.7%, 70.9%, 0%, 20.4%)
CIE-LABlab(45.37, 62.67, -56.25)
CIE-LCHlch(45.37, 84.21, 318.09°)
OKLaboklab(55.68% 0.1499 -0.1587)
OKLCHoklch(55.68% 0.218 313.4)
XYZxyz(26.6397, 14.8115, 57.9439)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3BCB #67CB3B
analogous
#573BCB #9F3BCB #CB3BAF
triadic
#9F3BCB #CB9F3B #3BCB9F
tetradic
#9F3BCB #CB573B #67CB3B #3BAFCB
square
#9F3BCB #CB573B #67CB3B #3BAFCB
split-complementary
#9F3BCB #AFCB3B #3BCB57
monochromatic
#561D6E #7B2A9F #9F3BCB #B76BD8 #CE9CE5

Accessibility & contrast

On white

5.30
#9F3BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9F3BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3BCB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3BCB#FFFFFF#000000##FFFFFF
##9F3BCB1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#2F6EC8
Tritanopia (blue-blind)
#9A5A7F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9f3bcb;
/* rgb */ color: rgb(159, 59, 203);
/* oklch */ color: oklch(55.7% 0.218 313.4);
Tailwind
colors: {
  custom: {
    50: '#c07adc',
    500: '#9f3bcb',
    950: '#000000',
  },
}
SCSS
$custom: #9f3bcb;
$custom-light: #c07adc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3bcb",
  "rgb": {
    "r": 159,
    "g": 59,
    "b": 203
  },
  "hsl": {
    "h": 281.667,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55679,
    "c": 0.21836,
    "h": 313.4
  },
  "luminance": 0.14811
}

Semantic roles & 50–950 ramp

primary
#9F3BCB
secondary
#A5D191
accent
#E14776
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F3BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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