#9E2BCA#9E2BCA

#9E2BCA is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.1% C 0.234 H 314.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9E2BCA
RGBrgb(158, 43, 202)
HSLhsl(283, 65%, 48%)
HSVhsv(283, 79%, 79%)
CMYKcmyk(21.8%, 78.7%, 0%, 20.8%)
CIE-LABlab(43.16, 68.02, -59.27)
CIE-LCHlch(43.16, 90.22, 318.93°)
OKLaboklab(54.06% 0.1631 -0.1675)
OKLCHoklch(54.06% 0.234 314.2)
XYZxyz(25.6233, 13.2620, 57.0757)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2BCA #57CA2B
analogous
#4E2BCA #9E2BCA #CA2BA6
triadic
#9E2BCA #CA9E2B #2BCA9E
tetradic
#9E2BCA #CA4E2B #57CA2B #2BA6CA
square
#9E2BCA #CA4E2B #57CA2B #2BA6CA
split-complementary
#9E2BCA #A6CA2B #2BCA4E
monochromatic
#4F1665 #772098 #9E2BCA #B757DB #CC89E6

Accessibility & contrast

On white

5.75
#9E2BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9E2BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2BCA
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2BCA#FFFFFF#000000##FFFFFF
##9E2BCA1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#1C69C7
Tritanopia (blue-blind)
#9A517B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9e2bca;
/* rgb */ color: rgb(158, 43, 202);
/* oklch */ color: oklch(54.1% 0.234 314.2);
Tailwind
colors: {
  custom: {
    50: '#c072db',
    500: '#9e2bca',
    950: '#000000',
  },
}
SCSS
$custom: #9e2bca;
$custom-light: #c072db;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2bca",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 202
  },
  "hsl": {
    "h": 283.396,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54058,
    "c": 0.2338,
    "h": 314.2
  },
  "luminance": 0.13261
}

Semantic roles & 50–950 ramp

primary
#9E2BCA
secondary
#97D081
accent
#E8406E
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9E2BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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