#9E1EB3#9E1EB3

#9E1EB3 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.6% C 0.226 H 321.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9E1EB3
RGBrgb(158, 30, 179)
HSLhsl(292, 71%, 41%)
HSVhsv(292, 83%, 70%)
CMYKcmyk(11.7%, 83.2%, 0%, 29.8%)
CIE-LABlab(40.33, 67.40, -50.35)
CIE-LCHlch(40.33, 84.13, 323.24°)
OKLaboklab(51.58% 0.1763 -0.1413)
OKLCHoklch(51.58% 0.226 321.3)
XYZxyz(22.7006, 11.4536, 43.6542)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1EB3 #33B31E
analogous
#541EB3 #9E1EB3 #B31E7D
triadic
#9E1EB3 #B39E1E #1EB39E
tetradic
#9E1EB3 #B3541E #33B31E #1E7DB3
square
#9E1EB3 #B3541E #33B31E #1E7DB3
split-complementary
#9E1EB3 #7DB31E #1EB354
monochromatic
#410C4A #70157F #9E1EB3 #C432DD #D366E5

Accessibility & contrast

On white

6.38
#9E1EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9E1EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1EB3
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1EB3#FFFFFF#000000##FFFFFF
##9E1EB31.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#3463B0
Tritanopia (blue-blind)
#9F406B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9e1eb3;
/* rgb */ color: rgb(158, 30, 179);
/* oklch */ color: oklch(51.6% 0.226 321.3);
Tailwind
colors: {
  custom: {
    50: '#bf6dca',
    500: '#9e1eb3',
    950: '#000000',
  },
}
SCSS
$custom: #9e1eb3;
$custom-light: #bf6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1eb3",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 179
  },
  "hsl": {
    "h": 291.544,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51578,
    "c": 0.22589,
    "h": 321.3
  },
  "luminance": 0.11452
}

Semantic roles & 50–950 ramp

primary
#9E1EB3
secondary
#71CB62
accent
#EE3A53
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9E1EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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