#9E1E93#9E1E93

#9E1E93 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.202 H 332.2°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9E1E93
RGBrgb(158, 30, 147)
HSLhsl(305, 68%, 37%)
HSVhsv(305, 81%, 62%)
CMYKcmyk(0%, 81%, 7%, 38%)
CIE-LABlab(38.39, 62.13, -34.23)
CIE-LCHlch(38.39, 70.94, 331.15°)
OKLaboklab(49.58% 0.1785 -0.0943)
OKLCHoklch(49.58% 0.202 332.2)
XYZxyz(19.8314, 10.3059, 28.5429)
Luminance0.1030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E93 #1E9E29
analogous
#691E9E #9E1E93 #9E1E53
triadic
#9E1E93 #939E1E #1E939E
tetradic
#9E1E93 #9E691E #1E9E29 #1E539E
square
#9E1E93 #9E691E #1E9E29 #1E539E
split-complementary
#9E1E93 #539E1E #1E9E69
monochromatic
#370A33 #6B1463 #9E1E93 #D128C3 #DF57D3

Accessibility & contrast

On white

6.86
#9E1E93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9E1E93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1E93
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E93#FFFFFF#000000##FFFFFF
##9E1E931.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124F96
Deuteranopia (green-blind)
#4B6190
Tritanopia (blue-blind)
#A52F59
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1e93;
/* rgb */ color: rgb(158, 30, 147);
/* oklch */ color: oklch(49.6% 0.202 332.2);
Tailwind
colors: {
  custom: {
    50: '#bf6bb3',
    500: '#9e1e93',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e93;
$custom-light: #bf6bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e93",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 147
  },
  "hsl": {
    "h": 305.156,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49575,
    "c": 0.2019,
    "h": 332.2
  },
  "luminance": 0.10304
}

Semantic roles & 50–950 ramp

primary
#9E1E93
secondary
#55C35E
accent
#EB4C3D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E1E93

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

Preview Lab → · Contrast checker → · Palette generator →

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