#9E1BD2#9E1BD2

#9E1BD2 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.7% C 0.252 H 312.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9E1BD2
RGBrgb(158, 27, 210)
HSLhsl(283, 77%, 46%)
HSVhsv(283, 87%, 82%)
CMYKcmyk(24.8%, 87.1%, 0%, 17.6%)
CIE-LABlab(42.32, 73.72, -65.25)
CIE-LCHlch(42.32, 98.45, 318.48°)
OKLaboklab(53.66% 0.1714 -0.185)
OKLCHoklch(53.66% 0.252 312.8)
XYZxyz(26.1232, 12.7069, 62.0369)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1BD2 #4FD21B
analogous
#431BD2 #9E1BD2 #D21BAB
triadic
#9E1BD2 #D29E1B #1BD29E
tetradic
#9E1BD2 #D2431B #4FD21B #1BABD2
square
#9E1BD2 #D2431B #4FD21B #1BABD2
split-complementary
#9E1BD2 #ABD21B #1BD243
monochromatic
#4C0D66 #75149C #9E1BD2 #B843E7 #CD7AEE

Accessibility & contrast

On white

5.93
#9E1BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9E1BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1BD2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1BD2#FFFFFF#000000##FFFFFF
##9E1BD21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED7
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#984F7D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9e1bd2;
/* rgb */ color: rgb(158, 27, 210);
/* oklch */ color: oklch(53.7% 0.252 312.8);
Tailwind
colors: {
  custom: {
    50: '#c06de1',
    500: '#9e1bd2',
    950: '#000000',
  },
}
SCSS
$custom: #9e1bd2;
$custom-light: #c06de1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1bd2",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 210
  },
  "hsl": {
    "h": 282.951,
    "s": 77.215,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53658,
    "c": 0.25222,
    "h": 312.8
  },
  "luminance": 0.12706
}

Semantic roles & 50–950 ramp

primary
#9E1BD2
secondary
#8FD573
accent
#F4346B
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #9E1BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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