#9E1E8E#9E1E8E

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

Color values

HEX#9E1E8E
RGBrgb(158, 30, 142)
HSLhsl(308, 68%, 37%)
HSVhsv(308, 81%, 62%)
CMYKcmyk(0%, 81%, 10.1%, 38%)
CIE-LABlab(38.11, 61.38, -31.60)
CIE-LCHlch(38.11, 69.04, 332.76°)
OKLaboklab(49.29% 0.1784 -0.0867)
OKLCHoklch(49.29% 0.198 334.1)
XYZxyz(19.4475, 10.1524, 26.5213)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E8E #1E9E2E
analogous
#6E1E9E #9E1E8E #9E1E4E
triadic
#9E1E8E #8E9E1E #1E8E9E
tetradic
#9E1E8E #9E6E1E #1E9E2E #1E4E9E
square
#9E1E8E #9E6E1E #1E9E2E #1E4E9E
split-complementary
#9E1E8E #4E9E1E #1E9E6E
monochromatic
#370A32 #6B1460 #9E1E8E #D128BC #DF57CE

Accessibility & contrast

On white

6.93
#9E1E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9E1E8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1E8E
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E8E#FFFFFF#000000##FFFFFF
##9E1E8E1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4E91
Deuteranopia (green-blind)
#4D608B
Tritanopia (blue-blind)
#A62C56
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1e8e;
/* rgb */ color: rgb(158, 30, 142);
/* oklch */ color: oklch(49.3% 0.198 334.1);
Tailwind
colors: {
  custom: {
    50: '#bf6baf',
    500: '#9e1e8e',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e8e;
$custom-light: #bf6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e8e",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 307.5,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49293,
    "c": 0.19836,
    "h": 334.1
  },
  "luminance": 0.10151
}

Semantic roles & 50–950 ramp

primary
#9E1E8E
secondary
#55C363
accent
#EB533D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9E1E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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