#9E2DBC#9E2DBC

#9E2DBC is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.220 H 318.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#9E2DBC
RGBrgb(158, 45, 188)
HSLhsl(287, 61%, 46%)
HSVhsv(287, 76%, 74%)
CMYKcmyk(16%, 76.1%, 0%, 26.3%)
CIE-LABlab(42.43, 64.69, -52.28)
CIE-LCHlch(42.43, 83.18, 321.06°)
OKLaboklab(53.24% 0.1636 -0.147)
OKLCHoklch(53.24% 0.22 318.1)
XYZxyz(24.1148, 12.7778, 48.7633)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2DBC #4BBC2D
analogous
#572DBC #9E2DBC #BC2D92
triadic
#9E2DBC #BC9E2D #2DBC9E
tetradic
#9E2DBC #BC572D #4BBC2D #2D92BC
square
#9E2DBC #BC572D #4BBC2D #2D92BC
split-complementary
#9E2DBC #92BC2D #2DBC57
monochromatic
#4B1559 #74218B #9E2DBC #BA51D5 #CD82E1

Accessibility & contrast

On white

5.91
#9E2DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9E2DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2DBC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2DBC#FFFFFF#000000##FFFFFF
##9E2DBC1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#3368B9
Tritanopia (blue-blind)
#9D4C73
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9e2dbc;
/* rgb */ color: rgb(158, 45, 188);
/* oklch */ color: oklch(53.2% 0.220 318.1);
Tailwind
colors: {
  custom: {
    50: '#bf72d1',
    500: '#9e2dbc',
    950: '#000000',
  },
}
SCSS
$custom: #9e2dbc;
$custom-light: #bf72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2dbc",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 287.413,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53243,
    "c": 0.21998,
    "h": 318.1
  },
  "luminance": 0.12777
}

Semantic roles & 50–950 ramp

primary
#9E2DBC
secondary
#8BCA7B
accent
#E44365
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E2DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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