#9F2BCA#9F2BCA

#9F2BCA is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.2% C 0.234 H 314.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9F2BCA
RGBrgb(159, 43, 202)
HSLhsl(284, 65%, 48%)
HSVhsv(284, 79%, 79%)
CMYKcmyk(21.3%, 78.7%, 0%, 20.8%)
CIE-LABlab(43.31, 68.20, -59.02)
CIE-LCHlch(43.31, 90.19, 319.13°)
OKLaboklab(54.2% 0.1643 -0.1667)
OKLCHoklch(54.2% 0.234 314.6)
XYZxyz(25.8208, 13.3639, 57.0850)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2BCA #56CA2B
analogous
#502BCA #9F2BCA #CA2BA5
triadic
#9F2BCA #CA9F2B #2BCA9F
tetradic
#9F2BCA #CA502B #56CA2B #2BA5CA
square
#9F2BCA #CA502B #56CA2B #2BA5CA
split-complementary
#9F2BCA #A5CA2B #2BCA50
monochromatic
#501665 #772098 #9F2BCA #B757DB #CD89E6

Accessibility & contrast

On white

5.72
#9F2BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9F2BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2BCA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2BCA#FFFFFF#000000##FFFFFF
##9F2BCA1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#1F69C7
Tritanopia (blue-blind)
#9B517B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f2bca;
/* rgb */ color: rgb(159, 43, 202);
/* oklch */ color: oklch(54.2% 0.234 314.6);
Tailwind
colors: {
  custom: {
    50: '#c072db',
    500: '#9f2bca',
    950: '#000000',
  },
}
SCSS
$custom: #9f2bca;
$custom-light: #c072db;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2bca",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 202
  },
  "hsl": {
    "h": 283.774,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54195,
    "c": 0.23412,
    "h": 314.6
  },
  "luminance": 0.13363
}

Semantic roles & 50–950 ramp

primary
#9F2BCA
secondary
#96D081
accent
#E8406D
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9F2BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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