#9E1E8F#9E1E8F

#9E1E8F is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.199 H 333.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9E1E8F
RGBrgb(158, 30, 143)
HSLhsl(307, 68%, 37%)
HSVhsv(307, 81%, 62%)
CMYKcmyk(0%, 81%, 9.5%, 38%)
CIE-LABlab(38.17, 61.53, -32.13)
CIE-LCHlch(38.17, 69.41, 332.43°)
OKLaboklab(49.35% 0.1785 -0.0882)
OKLCHoklch(49.35% 0.199 333.7)
XYZxyz(19.5229, 10.1826, 26.9185)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E8F #1E9E2D
analogous
#6D1E9E #9E1E8F #9E1E4F
triadic
#9E1E8F #8F9E1E #1E8F9E
tetradic
#9E1E8F #9E6D1E #1E9E2D #1E4F9E
square
#9E1E8F #9E6D1E #1E9E2D #1E4F9E
split-complementary
#9E1E8F #4F9E1E #1E9E6D
monochromatic
#370A32 #6B1460 #9E1E8F #D128BE #DF57CF

Accessibility & contrast

On white

6.92
#9E1E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E1E8F
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E8F#FFFFFF#000000##FFFFFF
##9E1E8F1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194E92
Deuteranopia (green-blind)
#4D608C
Tritanopia (blue-blind)
#A62D56
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1e8f;
/* rgb */ color: rgb(158, 30, 143);
/* oklch */ color: oklch(49.3% 0.199 333.7);
Tailwind
colors: {
  custom: {
    50: '#bf6bb0',
    500: '#9e1e8f',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e8f;
$custom-light: #bf6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e8f",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 307.031,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49349,
    "c": 0.19906,
    "h": 333.7
  },
  "luminance": 0.10181
}

Semantic roles & 50–950 ramp

primary
#9E1E8F
secondary
#55C362
accent
#EB513D
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130810
muted
#827A7F

Preview Lab

Preview with #9E1E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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