#9E51DA#9E51DA

#9E51DA is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.1% C 0.205 H 307.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9E51DA
RGBrgb(158, 81, 218)
HSLhsl(274, 65%, 59%)
HSVhsv(274, 63%, 85%)
CMYKcmyk(27.5%, 62.8%, 0%, 14.5%)
CIE-LABlab(49.76, 55.84, -57.80)
CIE-LCHlch(49.76, 80.37, 314.01°)
OKLaboklab(59.11% 0.1235 -0.1634)
OKLCHoklch(59.11% 0.205 307.1)
XYZxyz(29.6952, 18.2163, 68.2678)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E51DA #8DDA51
analogous
#5951DA #9E51DA #DA51D1
triadic
#9E51DA #DA9E51 #51DA9E
tetradic
#9E51DA #DA5951 #8DDA51 #51D1DA
square
#9E51DA #DA5951 #8DDA51 #51D1DA
split-complementary
#9E51DA #D1DA51 #51DA59
monochromatic
#5F1F92 #802AC4 #9E51DA #BA83E5 #D6B6EF

Accessibility & contrast

On white

4.52
#9E51DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#9E51DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E51DA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E51DA#FFFFFF#000000##000000
##9E51DA1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DE
Deuteranopia (green-blind)
#3677D7
Tritanopia (blue-blind)
#946D8E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9e51da;
/* rgb */ color: rgb(158, 81, 218);
/* oklch */ color: oklch(59.1% 0.205 307.1);
Tailwind
colors: {
  custom: {
    50: '#bf86e6',
    500: '#9e51da',
    950: '#000000',
  },
}
SCSS
$custom: #9e51da;
$custom-light: #bf86e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e51da",
  "rgb": {
    "r": 158,
    "g": 81,
    "b": 218
  },
  "hsl": {
    "h": 273.723,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59105,
    "c": 0.20486,
    "h": 307.1
  },
  "luminance": 0.18216
}

Semantic roles & 50–950 ramp

primary
#9E51DA
secondary
#C0DEA8
accent
#E84089
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E51DA

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

Preview Lab → · Contrast checker → · Palette generator →

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