#9F2FB9#9F2FB9

#9F2FB9 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.216 H 319.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9F2FB9
RGBrgb(159, 47, 185)
HSLhsl(289, 59%, 45%)
HSVhsv(289, 75%, 73%)
CMYKcmyk(14.1%, 74.6%, 0%, 27.5%)
CIE-LABlab(42.62, 63.65, -50.20)
CIE-LCHlch(42.62, 81.06, 321.74°)
OKLaboklab(53.35% 0.1634 -0.1409)
OKLCHoklch(53.35% 0.216 319.2)
XYZxyz(24.0704, 12.9079, 47.1131)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2FB9 #49B92F
analogous
#5A2FB9 #9F2FB9 #B92F8E
triadic
#9F2FB9 #B99F2F #2FB99F
tetradic
#9F2FB9 #B95A2F #49B92F #2F8EB9
square
#9F2FB9 #B95A2F #49B92F #2F8EB9
split-complementary
#9F2FB9 #8EB92F #2FB95A
monochromatic
#4B1657 #752388 #9F2FB9 #BB52D3 #CE83DF

Accessibility & contrast

On white

5.86
#9F2FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9F2FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2FB9
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2FB9#FFFFFF#000000##FFFFFF
##9F2FB91.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#3968B6
Tritanopia (blue-blind)
#9F4B72
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f2fb9;
/* rgb */ color: rgb(159, 47, 185);
/* oklch */ color: oklch(53.4% 0.216 319.2);
Tailwind
colors: {
  custom: {
    50: '#bf73cf',
    500: '#9f2fb9',
    950: '#000000',
  },
}
SCSS
$custom: #9f2fb9;
$custom-light: #bf73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2fb9",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 288.696,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53351,
    "c": 0.21575,
    "h": 319.2
  },
  "luminance": 0.12907
}

Semantic roles & 50–950 ramp

primary
#9F2FB9
secondary
#8AC97B
accent
#E34563
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F2FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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