#9E2E95#9E2E95

#9E2E95 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.9% C 0.187 H 331.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9E2E95
RGBrgb(158, 46, 149)
HSLhsl(305, 55%, 40%)
HSVhsv(305, 71%, 62%)
CMYKcmyk(0%, 70.9%, 5.7%, 38%)
CIE-LABlab(40.24, 57.46, -32.52)
CIE-LCHlch(40.24, 66.03, 330.49°)
OKLaboklab(50.94% 0.1641 -0.0895)
OKLCHoklch(50.94% 0.187 331.4)
XYZxyz(20.5023, 11.3946, 29.5475)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E95 #2E9E37
analogous
#6F2E9E #9E2E95 #9E2E5D
triadic
#9E2E95 #959E2E #2E959E
tetradic
#9E2E95 #9E6F2E #2E9E37 #2E5D9E
square
#9E2E95 #9E6F2E #2E9E37 #2E5D9E
split-complementary
#9E2E95 #5D9E2E #2E9E6F
monochromatic
#3F123C #6F2068 #9E2E95 #C841BD #D671CE

Accessibility & contrast

On white

6.41
#9E2E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9E2E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2E95
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2E95#FFFFFF#000000##FFFFFF
##9E2E951.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265598
Deuteranopia (green-blind)
#506492
Tritanopia (blue-blind)
#A43A5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9e2e95;
/* rgb */ color: rgb(158, 46, 149);
/* oklch */ color: oklch(50.9% 0.187 331.4);
Tailwind
colors: {
  custom: {
    50: '#be71b4',
    500: '#9e2e95',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e95;
$custom-light: #be71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e95",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 304.821,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.50937,
    "c": 0.18692,
    "h": 331.4
  },
  "luminance": 0.11393
}

Semantic roles & 50–950 ramp

primary
#9E2E95
secondary
#6BBD71
accent
#DE564A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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