#9E2BA3#9E2BA3

#9E2BA3 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.201 H 326.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9E2BA3
RGBrgb(158, 43, 163)
HSLhsl(298, 58%, 40%)
HSVhsv(298, 74%, 64%)
CMYKcmyk(3.1%, 73.6%, 0%, 36.1%)
CIE-LABlab(40.64, 60.86, -40.32)
CIE-LCHlch(40.64, 73.00, 326.47°)
OKLaboklab(51.48% 0.1674 -0.112)
OKLCHoklch(51.48% 0.201 326.2)
XYZxyz(21.5749, 11.6427, 35.7541)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2BA3 #30A32B
analogous
#622BA3 #9E2BA3 #A32B6C
triadic
#9E2BA3 #A39E2B #2BA39E
tetradic
#9E2BA3 #A3622B #30A32B #2B6CA3
square
#9E2BA3 #A3622B #30A32B #2B6CA3
split-complementary
#9E2BA3 #6CA32B #2BA362
monochromatic
#401142 #6F1E73 #9E2BA3 #C63FCC #D56FD9

Accessibility & contrast

On white

6.31
#9E2BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9E2BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2BA3
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2BA3#FFFFFF#000000##FFFFFF
##9E2BA31.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0857A6
Deuteranopia (green-blind)
#4765A0
Tritanopia (blue-blind)
#A23F65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e2ba3;
/* rgb */ color: rgb(158, 43, 163);
/* oklch */ color: oklch(51.5% 0.201 326.2);
Tailwind
colors: {
  custom: {
    50: '#be71bf',
    500: '#9e2ba3',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ba3;
$custom-light: #be71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ba3",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 297.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51478,
    "c": 0.2014,
    "h": 326.2
  },
  "luminance": 0.11641
}

Semantic roles & 50–950 ramp

primary
#9E2BA3
secondary
#6DC06A
accent
#E1464D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E2BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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