#9E2EB3#9E2EB3

#9E2EB3 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.211 H 320.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9E2EB3
RGBrgb(158, 46, 179)
HSLhsl(291, 59%, 44%)
HSVhsv(291, 74%, 70%)
CMYKcmyk(11.7%, 74.3%, 0%, 29.8%)
CIE-LABlab(41.97, 62.68, -47.72)
CIE-LCHlch(41.97, 78.78, 322.71°)
OKLaboklab(52.73% 0.1637 -0.1337)
OKLCHoklch(52.73% 0.211 320.8)
XYZxyz(23.2133, 12.4790, 43.8251)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2EB3 #43B32E
analogous
#5C2EB3 #9E2EB3 #B32E86
triadic
#9E2EB3 #B39E2E #2EB39E
tetradic
#9E2EB3 #B35C2E #43B32E #2E86B3
square
#9E2EB3 #B35C2E #43B32E #2E86B3
split-complementary
#9E2EB3 #86B32E #2EB35C
monochromatic
#481552 #732182 #9E2EB3 #BC4DD1 #CF7EDE

Accessibility & contrast

On white

6.01
#9E2EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9E2EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2EB3
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2EB3#FFFFFF#000000##FFFFFF
##9E2EB31.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#3D67B0
Tritanopia (blue-blind)
#9F486F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9e2eb3;
/* rgb */ color: rgb(158, 46, 179);
/* oklch */ color: oklch(52.7% 0.211 320.8);
Tailwind
colors: {
  custom: {
    50: '#bf72ca',
    500: '#9e2eb3',
    950: '#000000',
  },
}
SCSS
$custom: #9e2eb3;
$custom-light: #bf72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2eb3",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 290.526,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52733,
    "c": 0.21133,
    "h": 320.8
  },
  "luminance": 0.12478
}

Semantic roles & 50–950 ramp

primary
#9E2EB3
secondary
#83C676
accent
#E2465E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E2EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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