#9E1E90#9E1E90

#9E1E90 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.4% C 0.200 H 333.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9E1E90
RGBrgb(158, 30, 144)
HSLhsl(307, 68%, 37%)
HSVhsv(307, 81%, 62%)
CMYKcmyk(0%, 81%, 8.9%, 38%)
CIE-LABlab(38.22, 61.68, -32.66)
CIE-LCHlch(38.22, 69.79, 332.10°)
OKLaboklab(49.41% 0.1785 -0.0897)
OKLCHoklch(49.41% 0.2 333.3)
XYZxyz(19.5990, 10.2130, 27.3192)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E90 #1E9E2C
analogous
#6C1E9E #9E1E90 #9E1E50
triadic
#9E1E90 #909E1E #1E909E
tetradic
#9E1E90 #9E6C1E #1E9E2C #1E509E
square
#9E1E90 #9E6C1E #1E9E2C #1E509E
split-complementary
#9E1E90 #509E1E #1E9E6C
monochromatic
#370A32 #6B1461 #9E1E90 #D128BF #DF57D0

Accessibility & contrast

On white

6.90
#9E1E90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9E1E90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1E90
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E90#FFFFFF#000000##FFFFFF
##9E1E901.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174E93
Deuteranopia (green-blind)
#4C608D
Tritanopia (blue-blind)
#A52D57
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1e90;
/* rgb */ color: rgb(158, 30, 144);
/* oklch */ color: oklch(49.4% 0.200 333.3);
Tailwind
colors: {
  custom: {
    50: '#bf6bb1',
    500: '#9e1e90',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e90;
$custom-light: #bf6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e90",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 306.563,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49405,
    "c": 0.19977,
    "h": 333.3
  },
  "luminance": 0.10211
}

Semantic roles & 50–950 ramp

primary
#9E1E90
secondary
#55C361
accent
#EB503D
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130810
muted
#827A7F

Preview Lab

Preview with #9E1E90

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

Preview Lab → · Contrast checker → · Palette generator →

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