#9F2EB9#9F2EB9

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

Color values

HEX#9F2EB9
RGBrgb(159, 46, 185)
HSLhsl(289, 60%, 45%)
HSVhsv(289, 75%, 73%)
CMYKcmyk(14.1%, 75.1%, 0%, 27.5%)
CIE-LABlab(42.50, 63.99, -50.39)
CIE-LCHlch(42.50, 81.45, 321.78°)
OKLaboklab(53.27% 0.1643 -0.1414)
OKLCHoklch(53.27% 0.217 319.3)
XYZxyz(24.0309, 12.8289, 47.1000)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2EB9 #48B92E
analogous
#592EB9 #9F2EB9 #B92E8D
triadic
#9F2EB9 #B99F2E #2EB99F
tetradic
#9F2EB9 #B9592E #48B92E #2E8DB9
square
#9F2EB9 #B9592E #48B92E #2E8DB9
split-complementary
#9F2EB9 #8DB92E #2EB959
monochromatic
#4B1657 #752288 #9F2EB9 #BB51D4 #CE82E0

Accessibility & contrast

On white

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

On black

3.57
#9F2EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9F2EB9#FFFFFF#000000##FFFFFF
##9F2EB91.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2eb9;
/* rgb */ color: rgb(159, 46, 185);
/* oklch */ color: oklch(53.3% 0.217 319.3);
Tailwind
colors: {
  custom: {
    50: '#bf73cf',
    500: '#9f2eb9',
    950: '#000000',
  },
}
SCSS
$custom: #9f2eb9;
$custom-light: #bf73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2eb9",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 288.777,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53266,
    "c": 0.2168,
    "h": 319.3
  },
  "luminance": 0.12828
}

Semantic roles & 50–950 ramp

primary
#9F2EB9
secondary
#89C97A
accent
#E34462
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F2EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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