#9E2BA5#9E2BA5

#9E2BA5 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.203 H 325.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9E2BA5
RGBrgb(158, 43, 165)
HSLhsl(297, 59%, 41%)
HSVhsv(297, 74%, 65%)
CMYKcmyk(4.2%, 73.9%, 0%, 35.3%)
CIE-LABlab(40.76, 61.20, -41.33)
CIE-LCHlch(40.76, 73.85, 325.97°)
OKLaboklab(51.6% 0.1673 -0.115)
OKLCHoklch(51.6% 0.203 325.5)
XYZxyz(21.7555, 11.7149, 36.7053)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2BA5 #32A52B
analogous
#612BA5 #9E2BA5 #A52B6F
triadic
#9E2BA5 #A59E2B #2BA59E
tetradic
#9E2BA5 #A5612B #32A52B #2B6FA5
square
#9E2BA5 #A5612B #32A52B #2B6FA5
split-complementary
#9E2BA5 #6FA52B #2BA561
monochromatic
#411244 #701E74 #9E2BA5 #C540CD #D471DA

Accessibility & contrast

On white

6.28
#9E2BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2BA5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2BA5#FFFFFF#000000##FFFFFF
##9E2BA51.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0157A8
Deuteranopia (green-blind)
#4665A2
Tritanopia (blue-blind)
#A24066
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e2ba5;
/* rgb */ color: rgb(158, 43, 165);
/* oklch */ color: oklch(51.6% 0.203 325.5);
Tailwind
colors: {
  custom: {
    50: '#be71c0',
    500: '#9e2ba5',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ba5;
$custom-light: #be71c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ba5",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 296.557,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51599,
    "c": 0.203,
    "h": 325.5
  },
  "luminance": 0.11713
}

Semantic roles & 50–950 ramp

primary
#9E2BA5
secondary
#70C16B
accent
#E2464F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E2BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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