#9E2BC2#9E2BC2

#9E2BC2 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.5% C 0.227 H 316.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9E2BC2
RGBrgb(158, 43, 194)
HSLhsl(286, 64%, 46%)
HSVhsv(286, 78%, 76%)
CMYKcmyk(18.6%, 77.8%, 0%, 23.9%)
CIE-LABlab(42.60, 66.48, -55.51)
CIE-LCHlch(42.60, 86.61, 320.14°)
OKLaboklab(53.49% 0.1645 -0.1565)
OKLCHoklch(53.49% 0.227 316.4)
XYZxyz(24.7005, 12.8929, 52.2160)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2BC2 #4FC22B
analogous
#522BC2 #9E2BC2 #C22B9B
triadic
#9E2BC2 #C29E2B #2BC29E
tetradic
#9E2BC2 #C2522B #4FC22B #2B9BC2
square
#9E2BC2 #C2522B #4FC22B #2B9BC2
split-complementary
#9E2BC2 #9BC22B #2BC252
monochromatic
#4C155E #752090 #9E2BC2 #B852D9 #CD84E4

Accessibility & contrast

On white

5.87
#9E2BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9E2BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2BC2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2BC2#FFFFFF#000000##FFFFFF
##9E2BC21.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#2A68BF
Tritanopia (blue-blind)
#9C4E76
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e2bc2;
/* rgb */ color: rgb(158, 43, 194);
/* oklch */ color: oklch(53.5% 0.227 316.4);
Tailwind
colors: {
  custom: {
    50: '#bf72d5',
    500: '#9e2bc2',
    950: '#000000',
  },
}
SCSS
$custom: #9e2bc2;
$custom-light: #bf72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2bc2",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 285.695,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53493,
    "c": 0.22701,
    "h": 316.4
  },
  "luminance": 0.12892
}

Semantic roles & 50–950 ramp

primary
#9E2BC2
secondary
#8FCD7C
accent
#E74169
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E2BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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