#9E52DD#9E52DD

#9E52DD is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.4% C 0.207 H 306.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9E52DD
RGBrgb(158, 82, 221)
HSLhsl(273, 67%, 59%)
HSVhsv(273, 63%, 87%)
CMYKcmyk(28.5%, 62.9%, 0%, 13.3%)
CIE-LABlab(50.13, 56.03, -58.91)
CIE-LCHlch(50.13, 81.31, 313.56°)
OKLaboklab(59.43% 0.1222 -0.1667)
OKLCHoklch(59.43% 0.207 306.2)
XYZxyz(30.1662, 18.5244, 70.3790)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E52DD #91DD52
analogous
#5952DD #9E52DD #DD52D6
triadic
#9E52DD #DD9E52 #52DD9E
tetradic
#9E52DD #DD5952 #91DD52 #52D6DD
square
#9E52DD #DD5952 #91DD52 #52D6DD
split-complementary
#9E52DD #D6DD52 #52DD59
monochromatic
#601E97 #8028CA #9E52DD #BB85E7 #D7B8F1

Accessibility & contrast

On white

4.46
#9E52DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#9E52DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E52DD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E52DD#FFFFFF#000000##000000
##9E52DD1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#3378DA
Tritanopia (blue-blind)
#936F90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9e52dd;
/* rgb */ color: rgb(158, 82, 221);
/* oklch */ color: oklch(59.4% 0.207 306.2);
Tailwind
colors: {
  custom: {
    50: '#bf87e8',
    500: '#9e52dd',
    950: '#000000',
  },
}
SCSS
$custom: #9e52dd;
$custom-light: #bf87e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e52dd",
  "rgb": {
    "r": 158,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 272.806,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59432,
    "c": 0.20669,
    "h": 306.2
  },
  "luminance": 0.18524
}

Semantic roles & 50–950 ramp

primary
#9E52DD
secondary
#C3E0AA
accent
#EA3E8C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E52DD

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

Preview Lab → · Contrast checker → · Palette generator →

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