#9F2BBC#9F2BBC

#9F2BBC is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.222 H 318.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9F2BBC
RGBrgb(159, 43, 188)
HSLhsl(288, 63%, 45%)
HSVhsv(288, 77%, 74%)
CMYKcmyk(15.4%, 77.1%, 0%, 26.3%)
CIE-LABlab(42.35, 65.54, -52.39)
CIE-LCHlch(42.35, 83.91, 321.36°)
OKLaboklab(53.22% 0.1665 -0.1473)
OKLCHoklch(53.22% 0.222 318.5)
XYZxyz(24.2378, 12.7307, 48.7478)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2BBC #48BC2B
analogous
#562BBC #9F2BBC #BC2B90
triadic
#9F2BBC #BC9F2B #2BBC9F
tetradic
#9F2BBC #BC562B #48BC2B #2B90BC
square
#9F2BBC #BC562B #48BC2B #2B90BC
split-complementary
#9F2BBC #90BC2B #2BBC56
monochromatic
#4B1458 #75208A #9F2BBC #BB4ED6 #CE80E2

Accessibility & contrast

On white

5.92
#9F2BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9F2BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2BBC
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2BBC#FFFFFF#000000##FFFFFF
##9F2BBC1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#3368B9
Tritanopia (blue-blind)
#9E4B73
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9f2bbc;
/* rgb */ color: rgb(159, 43, 188);
/* oklch */ color: oklch(53.2% 0.222 318.5);
Tailwind
colors: {
  custom: {
    50: '#c072d1',
    500: '#9f2bbc',
    950: '#000000',
  },
}
SCSS
$custom: #9f2bbc;
$custom-light: #c072d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2bbc",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 188
  },
  "hsl": {
    "h": 288,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53223,
    "c": 0.22233,
    "h": 318.5
  },
  "luminance": 0.1273
}

Semantic roles & 50–950 ramp

primary
#9F2BBC
secondary
#89CB78
accent
#E64263
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F2BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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