#9E2EA6#9E2EA6

#9E2EA6 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 51.9% C 0.201 H 325.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9E2EA6
RGBrgb(158, 46, 166)
HSLhsl(296, 57%, 42%)
HSVhsv(296, 72%, 65%)
CMYKcmyk(4.8%, 72.3%, 0%, 34.9%)
CIE-LABlab(41.18, 60.34, -41.26)
CIE-LCHlch(41.18, 73.10, 325.64°)
OKLaboklab(51.92% 0.1644 -0.1148)
OKLCHoklch(51.92% 0.201 325.1)
XYZxyz(21.9600, 11.9777, 37.2243)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2EA6 #36A62E
analogous
#622EA6 #9E2EA6 #A62E72
triadic
#9E2EA6 #A69E2E #2EA69E
tetradic
#9E2EA6 #A6622E #36A62E #2E72A6
square
#9E2EA6 #A6622E #36A62E #2E72A6
split-complementary
#9E2EA6 #72A62E #2EA662
monochromatic
#431346 #702176 #9E2EA6 #C346CC #D276D9

Accessibility & contrast

On white

6.19
#9E2EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9E2EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2EA6
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2EA6#FFFFFF#000000##FFFFFF
##9E2EA61.006.193.406.19
#FFFFFF6.191.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0958A9
Deuteranopia (green-blind)
#4766A3
Tritanopia (blue-blind)
#A24267
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e2ea6;
/* rgb */ color: rgb(158, 46, 166);
/* oklch */ color: oklch(51.9% 0.201 325.1);
Tailwind
colors: {
  custom: {
    50: '#be72c1',
    500: '#9e2ea6',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ea6;
$custom-light: #be72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ea6",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 296,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51919,
    "c": 0.20051,
    "h": 325.1
  },
  "luminance": 0.11976
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E2EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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