#9E2BA4#9E2BA4

#9E2BA4 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.5% C 0.202 H 325.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9E2BA4
RGBrgb(158, 43, 164)
HSLhsl(297, 58%, 41%)
HSVhsv(297, 74%, 64%)
CMYKcmyk(3.7%, 73.8%, 0%, 35.7%)
CIE-LABlab(40.70, 61.03, -40.83)
CIE-LCHlch(40.70, 73.43, 326.22°)
OKLaboklab(51.54% 0.1673 -0.1135)
OKLCHoklch(51.54% 0.202 325.8)
XYZxyz(21.6648, 11.6786, 36.2279)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2BA4 #31A42B
analogous
#612BA4 #9E2BA4 #A42B6D
triadic
#9E2BA4 #A49E2B #2BA49E
tetradic
#9E2BA4 #A4612B #31A42B #2B6DA4
square
#9E2BA4 #A4612B #31A42B #2B6DA4
split-complementary
#9E2BA4 #6DA42B #2BA461
monochromatic
#411243 #6F1E74 #9E2BA4 #C63FCD #D470D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E2BA4#FFFFFF#000000##FFFFFF
##9E2BA41.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)
#0557A7
Deuteranopia (green-blind)
#4665A1
Tritanopia (blue-blind)
#A23F65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e2ba4;
/* rgb */ color: rgb(158, 43, 164);
/* oklch */ color: oklch(51.5% 0.202 325.8);
Tailwind
colors: {
  custom: {
    50: '#be71bf',
    500: '#9e2ba4',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ba4;
$custom-light: #be71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ba4",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 297.025,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51539,
    "c": 0.20219,
    "h": 325.8
  },
  "luminance": 0.11677
}

Semantic roles & 50–950 ramp

primary
#9E2BA4
secondary
#6EC16A
accent
#E2464E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E2BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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