#9E2BA2#9E2BA2

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

Color values

HEX#9E2BA2
RGBrgb(158, 43, 162)
HSLhsl(298, 58%, 40%)
HSVhsv(298, 73%, 64%)
CMYKcmyk(2.5%, 73.5%, 0%, 36.5%)
CIE-LABlab(40.58, 60.68, -39.81)
CIE-LCHlch(40.58, 72.58, 326.73°)
OKLaboklab(51.42% 0.1674 -0.1106)
OKLCHoklch(51.42% 0.201 326.5)
XYZxyz(21.4856, 11.6070, 35.2841)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2BA2 #2FA22B
analogous
#622BA2 #9E2BA2 #A22B6B
triadic
#9E2BA2 #A29E2B #2BA29E
tetradic
#9E2BA2 #A2622B #2FA22B #2B6BA2
square
#9E2BA2 #A2622B #2FA22B #2B6BA2
split-complementary
#9E2BA2 #6BA22B #2BA262
monochromatic
#401141 #6F1E72 #9E2BA2 #C73ECC #D56FD9

Accessibility & contrast

On white

6.32
#9E2BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9E2BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2BA2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2BA2#FFFFFF#000000##FFFFFF
##9E2BA21.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B56A5
Deuteranopia (green-blind)
#48659F
Tritanopia (blue-blind)
#A23F64
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e2ba2;
/* rgb */ color: rgb(158, 43, 162);
/* oklch */ color: oklch(51.4% 0.201 326.5);
Tailwind
colors: {
  custom: {
    50: '#be70be',
    500: '#9e2ba2',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ba2;
$custom-light: #be70be;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ba2",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 297.983,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51418,
    "c": 0.2006,
    "h": 326.5
  },
  "luminance": 0.11605
}

Semantic roles & 50–950 ramp

primary
#9E2BA2
secondary
#6CC069
accent
#E1474C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E2BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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