#9E2CA2#9E2CA2

#9E2CA2 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.5% C 0.200 H 326.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9E2CA2
RGBrgb(158, 44, 162)
HSLhsl(298, 57%, 40%)
HSVhsv(298, 73%, 64%)
CMYKcmyk(2.5%, 72.8%, 0%, 36.5%)
CIE-LABlab(40.70, 60.34, -39.62)
CIE-LCHlch(40.70, 72.19, 326.71°)
OKLaboklab(51.5% 0.1664 -0.11)
OKLCHoklch(51.5% 0.2 326.5)
XYZxyz(21.5224, 11.6806, 35.2964)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2CA2 #30A22C
analogous
#632CA2 #9E2CA2 #A22C6B
triadic
#9E2CA2 #A29E2C #2CA29E
tetradic
#9E2CA2 #A2632C #30A22C #2C6BA2
square
#9E2CA2 #A2632C #30A22C #2C6BA2
split-complementary
#9E2CA2 #6BA22C #2CA263
monochromatic
#401242 #6F1F72 #9E2CA2 #C640CB #D570D8

Accessibility & contrast

On white

6.30
#9E2CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9E2CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2CA2
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2CA2#FFFFFF#000000##FFFFFF
##9E2CA21.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E57A5
Deuteranopia (green-blind)
#48659F
Tritanopia (blue-blind)
#A23F65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e2ca2;
/* rgb */ color: rgb(158, 44, 162);
/* oklch */ color: oklch(51.5% 0.200 326.5);
Tailwind
colors: {
  custom: {
    50: '#be71be',
    500: '#9e2ca2',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ca2;
$custom-light: #be71be;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ca2",
  "rgb": {
    "r": 158,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 297.966,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51504,
    "c": 0.1995,
    "h": 326.5
  },
  "luminance": 0.11679
}

Semantic roles & 50–950 ramp

primary
#9E2CA2
secondary
#6DBF6A
accent
#E1474C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E2CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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