#9E1E92#9E1E92

#9E1E92 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.5% C 0.201 H 332.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9E1E92
RGBrgb(158, 30, 146)
HSLhsl(306, 68%, 37%)
HSVhsv(306, 81%, 62%)
CMYKcmyk(0%, 81%, 7.6%, 38%)
CIE-LABlab(38.33, 61.98, -33.71)
CIE-LCHlch(38.33, 70.55, 331.46°)
OKLaboklab(49.52% 0.1785 -0.0928)
OKLCHoklch(49.52% 0.201 332.5)
XYZxyz(19.7532, 10.2747, 28.1314)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E92 #1E9E2A
analogous
#6A1E9E #9E1E92 #9E1E52
triadic
#9E1E92 #929E1E #1E929E
tetradic
#9E1E92 #9E6A1E #1E9E2A #1E529E
square
#9E1E92 #9E6A1E #1E9E2A #1E529E
split-complementary
#9E1E92 #529E1E #1E9E6A
monochromatic
#370A33 #6B1462 #9E1E92 #D128C2 #DF57D2

Accessibility & contrast

On white

6.87
#9E1E92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9E1E92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1E92
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E92#FFFFFF#000000##FFFFFF
##9E1E921.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144F95
Deuteranopia (green-blind)
#4B608F
Tritanopia (blue-blind)
#A52E58
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1e92;
/* rgb */ color: rgb(158, 30, 146);
/* oklch */ color: oklch(49.5% 0.201 332.5);
Tailwind
colors: {
  custom: {
    50: '#bf6bb2',
    500: '#9e1e92',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e92;
$custom-light: #bf6bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e92",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 146
  },
  "hsl": {
    "h": 305.625,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49518,
    "c": 0.20118,
    "h": 332.5
  },
  "luminance": 0.10273
}

Semantic roles & 50–950 ramp

primary
#9E1E92
secondary
#55C35F
accent
#EB4D3D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E1E92

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

Preview Lab → · Contrast checker → · Palette generator →

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