#9F2BBE#9F2BBE

#9F2BBE is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.4% C 0.224 H 317.9°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9F2BBE
RGBrgb(159, 43, 190)
HSLhsl(287, 63%, 46%)
HSVhsv(287, 77%, 75%)
CMYKcmyk(16.3%, 77.4%, 0%, 25.5%)
CIE-LABlab(42.49, 65.91, -53.35)
CIE-LCHlch(42.49, 84.80, 321.01°)
OKLaboklab(53.36% 0.1663 -0.1501)
OKLCHoklch(53.36% 0.224 317.9)
XYZxyz(24.4549, 12.8175, 49.8911)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2BBE #4ABE2B
analogous
#552BBE #9F2BBE #BE2B93
triadic
#9F2BBE #BE9F2B #2BBE9F
tetradic
#9F2BBE #BE552B #4ABE2B #2B93BE
square
#9F2BBE #BE552B #4ABE2B #2B93BE
split-complementary
#9F2BBE #93BE2B #2BBE55
monochromatic
#4B145A #75208C #9F2BBE #BA4FD7 #CE81E2

Accessibility & contrast

On white

5.89
#9F2BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9F2BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2BBE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2BBE#FFFFFF#000000##FFFFFF
##9F2BBE1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#3168BB
Tritanopia (blue-blind)
#9E4B74
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9f2bbe;
/* rgb */ color: rgb(159, 43, 190);
/* oklch */ color: oklch(53.4% 0.224 317.9);
Tailwind
colors: {
  custom: {
    50: '#c072d2',
    500: '#9f2bbe',
    950: '#000000',
  },
}
SCSS
$custom: #9f2bbe;
$custom-light: #c072d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2bbe",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 190
  },
  "hsl": {
    "h": 287.347,
    "s": 63.09,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53358,
    "c": 0.22401,
    "h": 317.9
  },
  "luminance": 0.12816
}

Semantic roles & 50–950 ramp

primary
#9F2BBE
secondary
#8BCB7A
accent
#E64264
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F2BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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