#9F2EA6#9F2EA6

#9F2EA6 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.1% C 0.201 H 325.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9F2EA6
RGBrgb(159, 46, 166)
HSLhsl(297, 57%, 42%)
HSVhsv(297, 72%, 65%)
CMYKcmyk(4.2%, 72.3%, 0%, 34.9%)
CIE-LABlab(41.34, 60.56, -40.99)
CIE-LCHlch(41.34, 73.13, 325.91°)
OKLaboklab(52.07% 0.1655 -0.114)
OKLCHoklch(52.07% 0.201 325.4)
XYZxyz(22.1575, 12.0795, 37.2335)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2EA6 #35A62E
analogous
#632EA6 #9F2EA6 #A62E71
triadic
#9F2EA6 #A69F2E #2EA69F
tetradic
#9F2EA6 #A6632E #35A62E #2E71A6
square
#9F2EA6 #A6632E #35A62E #2E71A6
split-complementary
#9F2EA6 #71A62E #2EA663
monochromatic
#431346 #712176 #9F2EA6 #C446CC #D376D9

Accessibility & contrast

On white

6.15
#9F2EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9F2EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2EA6
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2EA6#FFFFFF#000000##FFFFFF
##9F2EA61.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B59A9
Deuteranopia (green-blind)
#4866A3
Tritanopia (blue-blind)
#A34267
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f2ea6;
/* rgb */ color: rgb(159, 46, 166);
/* oklch */ color: oklch(52.1% 0.201 325.4);
Tailwind
colors: {
  custom: {
    50: '#bf72c1',
    500: '#9f2ea6',
    950: '#000000',
  },
}
SCSS
$custom: #9f2ea6;
$custom-light: #bf72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2ea6",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 296.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52066,
    "c": 0.20097,
    "h": 325.4
  },
  "luminance": 0.12078
}

Semantic roles & 50–950 ramp

primary
#9F2EA6
secondary
#74C16F
accent
#E04851
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9F2EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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