#9E2BA9#9E2BA9

#9E2BA9 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.206 H 324.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9E2BA9
RGBrgb(158, 43, 169)
HSLhsl(295, 59%, 42%)
HSVhsv(295, 75%, 66%)
CMYKcmyk(6.5%, 74.6%, 0%, 33.7%)
CIE-LABlab(41.00, 61.90, -43.34)
CIE-LCHlch(41.00, 75.56, 325.00°)
OKLaboklab(51.85% 0.1671 -0.1208)
OKLCHoklch(51.85% 0.206 324.1)
XYZxyz(22.1253, 11.8628, 38.6528)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2BA9 #36A92B
analogous
#5F2BA9 #9E2BA9 #A92B75
triadic
#9E2BA9 #A99E2B #2BA99E
tetradic
#9E2BA9 #A95F2B #36A92B #2B75A9
square
#9E2BA9 #A95F2B #36A92B #2B75A9
split-complementary
#9E2BA9 #75A92B #2BA95F
monochromatic
#431247 #701F78 #9E2BA9 #C342CF #D273DB

Accessibility & contrast

On white

6.23
#9E2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9E2BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2BA9
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2BA9#FFFFFF#000000##FFFFFF
##9E2BA91.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#4365A6
Tritanopia (blue-blind)
#A14268
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e2ba9;
/* rgb */ color: rgb(158, 43, 169);
/* oklch */ color: oklch(51.8% 0.206 324.1);
Tailwind
colors: {
  custom: {
    50: '#be71c3',
    500: '#9e2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ba9;
$custom-light: #be71c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ba9",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 294.762,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51845,
    "c": 0.20624,
    "h": 324.1
  },
  "luminance": 0.11861
}

Semantic roles & 50–950 ramp

primary
#9E2BA9
secondary
#74C36D
accent
#E34553
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9E2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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