#9E2EA3#9E2EA3

#9E2EA3 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.198 H 326.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9E2EA3
RGBrgb(158, 46, 163)
HSLhsl(297, 56%, 41%)
HSVhsv(297, 72%, 64%)
CMYKcmyk(3.1%, 71.8%, 0%, 36.1%)
CIE-LABlab(41.01, 59.82, -39.74)
CIE-LCHlch(41.01, 71.82, 326.40°)
OKLaboklab(51.74% 0.1645 -0.1104)
OKLCHoklch(51.74% 0.198 326.1)
XYZxyz(21.6880, 11.8689, 35.7918)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2EA3 #33A32E
analogous
#632EA3 #9E2EA3 #A32E6D
triadic
#9E2EA3 #A39E2E #2EA39E
tetradic
#9E2EA3 #A3632E #33A32E #2E6DA3
square
#9E2EA3 #A3632E #33A32E #2E6DA3
split-complementary
#9E2EA3 #6DA32E #2EA363
monochromatic
#411344 #702173 #9E2EA3 #C444CA #D374D8

Accessibility & contrast

On white

6.23
#9E2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9E2EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2EA3
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2EA3#FFFFFF#000000##FFFFFF
##9E2EA31.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1158A6
Deuteranopia (green-blind)
#4866A0
Tritanopia (blue-blind)
#A24166
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e2ea3;
/* rgb */ color: rgb(158, 46, 163);
/* oklch */ color: oklch(51.7% 0.198 326.1);
Tailwind
colors: {
  custom: {
    50: '#be72bf',
    500: '#9e2ea3',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ea3;
$custom-light: #be72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ea3",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 297.436,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51739,
    "c": 0.19806,
    "h": 326.1
  },
  "luminance": 0.11867
}

Semantic roles & 50–950 ramp

primary
#9E2EA3
secondary
#71BF6D
accent
#DF494F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9E2EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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