#9F2EB7#9F2EB7

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

Color values

HEX#9F2EB7
RGBrgb(159, 46, 183)
HSLhsl(289, 60%, 45%)
HSVhsv(289, 75%, 72%)
CMYKcmyk(13.1%, 74.9%, 0%, 28.2%)
CIE-LABlab(42.38, 63.62, -49.42)
CIE-LCHlch(42.38, 80.56, 322.16°)
OKLaboklab(53.14% 0.1645 -0.1386)
OKLCHoklch(53.14% 0.215 319.9)
XYZxyz(23.8212, 12.7450, 45.9958)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2EB7 #46B72E
analogous
#5B2EB7 #9F2EB7 #B72E8B
triadic
#9F2EB7 #B79F2E #2EB79F
tetradic
#9F2EB7 #B75B2E #46B72E #2E8BB7
square
#9F2EB7 #B75B2E #46B72E #2E8BB7
split-complementary
#9F2EB7 #8BB72E #2EB75B
monochromatic
#4A1555 #752286 #9F2EB7 #BC4FD3 #CF80DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2EB7#FFFFFF#000000##FFFFFF
##9F2EB71.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)
#005CBB
Deuteranopia (green-blind)
#3A68B4
Tritanopia (blue-blind)
#9F4A71
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9f2eb7;
/* rgb */ color: rgb(159, 46, 183);
/* oklch */ color: oklch(53.1% 0.215 319.9);
Tailwind
colors: {
  custom: {
    50: '#bf73cd',
    500: '#9f2eb7',
    950: '#000000',
  },
}
SCSS
$custom: #9f2eb7;
$custom-light: #bf73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2eb7",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 289.489,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53135,
    "c": 0.21511,
    "h": 319.9
  },
  "luminance": 0.12744
}

Semantic roles & 50–950 ramp

primary
#9F2EB7
secondary
#87C879
accent
#E34561
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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