#9F2EA9#9F2EA9

#9F2EA9 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.2% C 0.203 H 324.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#9F2EA9
RGBrgb(159, 46, 169)
HSLhsl(295, 57%, 42%)
HSVhsv(295, 73%, 66%)
CMYKcmyk(5.9%, 72.8%, 0%, 33.7%)
CIE-LABlab(41.52, 61.09, -42.50)
CIE-LCHlch(41.52, 74.42, 325.17°)
OKLaboklab(52.25% 0.1654 -0.1184)
OKLCHoklch(52.25% 0.203 324.4)
XYZxyz(22.4359, 12.1909, 38.6998)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2EA9 #38A92E
analogous
#622EA9 #9F2EA9 #A92E76
triadic
#9F2EA9 #A99F2E #2EA99F
tetradic
#9F2EA9 #A9622E #38A92E #2E76A9
square
#9F2EA9 #A9622E #38A92E #2E76A9
split-complementary
#9F2EA9 #76A92E #2EA962
monochromatic
#441449 #722179 #9F2EA9 #C247CD #D277DA

Accessibility & contrast

On white

6.11
#9F2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9F2EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2EA9
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2EA9#FFFFFF#000000##FFFFFF
##9F2EA91.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0159AC
Deuteranopia (green-blind)
#4667A6
Tritanopia (blue-blind)
#A24369
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f2ea9;
/* rgb */ color: rgb(159, 46, 169);
/* oklch */ color: oklch(52.2% 0.203 324.4);
Tailwind
colors: {
  custom: {
    50: '#bf72c3',
    500: '#9f2ea9',
    950: '#000000',
  },
}
SCSS
$custom: #9f2ea9;
$custom-light: #bf72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2ea9",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 295.122,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52249,
    "c": 0.20344,
    "h": 324.4
  },
  "luminance": 0.12189
}

Semantic roles & 50–950 ramp

primary
#9F2EA9
secondary
#77C271
accent
#E04754
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #9F2EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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