#9F2CB6#9F2CB6

#9F2CB6 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.216 H 320.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9F2CB6
RGBrgb(159, 44, 182)
HSLhsl(290, 61%, 44%)
HSVhsv(290, 76%, 71%)
CMYKcmyk(12.6%, 75.8%, 0%, 28.6%)
CIE-LABlab(42.08, 64.11, -49.31)
CIE-LCHlch(42.08, 80.88, 322.44°)
OKLaboklab(52.9% 0.1664 -0.1383)
OKLCHoklch(52.9% 0.216 320.3)
XYZxyz(23.6412, 12.5509, 45.4242)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2CB6 #43B62C
analogous
#5A2CB6 #9F2CB6 #B62C88
triadic
#9F2CB6 #B69F2C #2CB69F
tetradic
#9F2CB6 #B65A2C #43B62C #2C88B6
square
#9F2CB6 #B65A2C #43B62C #2C88B6
split-complementary
#9F2CB6 #88B62C #2CB65A
monochromatic
#491453 #742085 #9F2CB6 #BD4CD4 #CF7DE0

Accessibility & contrast

On white

5.98
#9F2CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9F2CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2CB6
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2CB6#FFFFFF#000000##FFFFFF
##9F2CB61.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#3A67B3
Tritanopia (blue-blind)
#A04870
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f2cb6;
/* rgb */ color: rgb(159, 44, 182);
/* oklch */ color: oklch(52.9% 0.216 320.3);
Tailwind
colors: {
  custom: {
    50: '#bf72cc',
    500: '#9f2cb6',
    950: '#000000',
  },
}
SCSS
$custom: #9f2cb6;
$custom-light: #bf72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2cb6",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 290,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52903,
    "c": 0.21634,
    "h": 320.3
  },
  "luminance": 0.1255
}

Semantic roles & 50–950 ramp

primary
#9F2CB6
secondary
#84C876
accent
#E4445E
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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