#9E51DD#9E51DD

#9E51DD is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.3% C 0.208 H 306.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9E51DD
RGBrgb(158, 81, 221)
HSLhsl(273, 67%, 59%)
HSVhsv(273, 63%, 87%)
CMYKcmyk(28.5%, 63.3%, 0%, 13.3%)
CIE-LABlab(49.95, 56.52, -59.20)
CIE-LCHlch(49.95, 81.85, 313.67°)
OKLaboklab(59.3% 0.1233 -0.1675)
OKLCHoklch(59.3% 0.208 306.4)
XYZxyz(30.0913, 18.3747, 70.3540)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E51DD #90DD51
analogous
#5851DD #9E51DD #DD51D6
triadic
#9E51DD #DD9E51 #51DD9E
tetradic
#9E51DD #DD5851 #90DD51 #51D6DD
square
#9E51DD #DD5851 #90DD51 #51D6DD
split-complementary
#9E51DD #D6DD51 #51DD58
monochromatic
#601D96 #8127C9 #9E51DD #BB84E7 #D7B7F1

Accessibility & contrast

On white

4.49
#9E51DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#9E51DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E51DD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E51DD#FFFFFF#000000##000000
##9E51DD1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#3277DA
Tritanopia (blue-blind)
#936E90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9e51dd;
/* rgb */ color: rgb(158, 81, 221);
/* oklch */ color: oklch(59.3% 0.208 306.4);
Tailwind
colors: {
  custom: {
    50: '#bf86e8',
    500: '#9e51dd',
    950: '#000000',
  },
}
SCSS
$custom: #9e51dd;
$custom-light: #bf86e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e51dd",
  "rgb": {
    "r": 158,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 273,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59303,
    "c": 0.20805,
    "h": 306.4
  },
  "luminance": 0.18374
}

Semantic roles & 50–950 ramp

primary
#9E51DD
secondary
#C2E0AA
accent
#EA3E8B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E51DD

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

Preview Lab → · Contrast checker → · Palette generator →

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