#9E2E8F#9E2E8F

#9E2E8F is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.182 H 333.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9E2E8F
RGBrgb(158, 46, 143)
HSLhsl(308, 55%, 40%)
HSVhsv(308, 71%, 62%)
CMYKcmyk(0%, 70.9%, 9.5%, 38%)
CIE-LABlab(39.93, 56.50, -29.36)
CIE-LCHlch(39.93, 63.67, 332.54°)
OKLaboklab(50.61% 0.1637 -0.0803)
OKLCHoklch(50.61% 0.182 333.9)
XYZxyz(20.0356, 11.2079, 27.0894)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E8F #2E9E3D
analogous
#752E9E #9E2E8F #9E2E57
triadic
#9E2E8F #8F9E2E #2E8F9E
tetradic
#9E2E8F #9E752E #2E9E3D #2E579E
square
#9E2E8F #9E752E #2E9E3D #2E579E
split-complementary
#9E2E8F #579E2E #2E9E75
monochromatic
#3F1239 #6F2064 #9E2E8F #C841B6 #D671C8

Accessibility & contrast

On white

6.48
#9E2E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9E2E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2E8F
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2E8F#FFFFFF#000000##FFFFFF
##9E2E8F1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5492
Deuteranopia (green-blind)
#53648C
Tritanopia (blue-blind)
#A5385B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e2e8f;
/* rgb */ color: rgb(158, 46, 143);
/* oklch */ color: oklch(50.6% 0.182 333.9);
Tailwind
colors: {
  custom: {
    50: '#be71b0',
    500: '#9e2e8f',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e8f;
$custom-light: #be71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e8f",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 308.036,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.50614,
    "c": 0.18233,
    "h": 333.9
  },
  "luminance": 0.11206
}

Semantic roles & 50–950 ramp

primary
#9E2E8F
secondary
#6BBD76
accent
#DE5D4A
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E2E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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