#9F2BB8#9F2BB8

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

Color values

HEX#9F2BB8
RGBrgb(159, 43, 184)
HSLhsl(289, 62%, 45%)
HSVhsv(289, 77%, 72%)
CMYKcmyk(13.6%, 76.6%, 0%, 27.8%)
CIE-LABlab(42.09, 64.80, -50.46)
CIE-LCHlch(42.09, 82.13, 322.09°)
OKLaboklab(52.96% 0.167 -0.1416)
OKLCHoklch(52.96% 0.219 319.7)
XYZxyz(23.8126, 12.5606, 46.5082)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2BB8 #44B82B
analogous
#592BB8 #9F2BB8 #B82B8B
triadic
#9F2BB8 #B89F2B #2BB89F
tetradic
#9F2BB8 #B8592B #44B82B #2B8BB8
square
#9F2BB8 #B8592B #44B82B #2B8BB8
split-complementary
#9F2BB8 #8BB82B #2BB859
monochromatic
#491455 #741F86 #9F2BB8 #BD4BD5 #CF7DE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2BB8#FFFFFF#000000##FFFFFF
##9F2BB81.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)
#005CBC
Deuteranopia (green-blind)
#3867B5
Tritanopia (blue-blind)
#9F4971
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f2bb8;
/* rgb */ color: rgb(159, 43, 184);
/* oklch */ color: oklch(53.0% 0.219 319.7);
Tailwind
colors: {
  custom: {
    50: '#c072ce',
    500: '#9f2bb8',
    950: '#000000',
  },
}
SCSS
$custom: #9f2bb8;
$custom-light: #c072ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2bb8",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 289.362,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52955,
    "c": 0.21899,
    "h": 319.7
  },
  "luminance": 0.12559
}

Semantic roles & 50–950 ramp

primary
#9F2BB8
secondary
#85C976
accent
#E5435F
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F2BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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