#9E52DC#9E52DC

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

Color values

HEX#9E52DC
RGBrgb(158, 82, 220)
HSLhsl(273, 66%, 59%)
HSVhsv(273, 63%, 86%)
CMYKcmyk(28.2%, 62.7%, 0%, 13.7%)
CIE-LABlab(50.06, 55.81, -58.45)
CIE-LCHlch(50.06, 80.81, 313.67°)
OKLaboklab(59.37% 0.1223 -0.1653)
OKLCHoklch(59.37% 0.206 306.5)
XYZxyz(30.0334, 18.4713, 69.6794)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E52DC #90DC52
analogous
#5952DC #9E52DC #DC52D5
triadic
#9E52DC #DC9E52 #52DC9E
tetradic
#9E52DC #DC5952 #90DC52 #52D5DC
square
#9E52DC #DC5952 #90DC52 #52D5DC
split-complementary
#9E52DC #D5DC52 #52DC59
monochromatic
#601E95 #8129C8 #9E52DC #BB85E6 #D7B8F1

Accessibility & contrast

On white

4.47
#9E52DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#9E52DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E52DC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E52DC#FFFFFF#000000##000000
##9E52DC1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#3578D9
Tritanopia (blue-blind)
#946E90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9e52dc;
/* rgb */ color: rgb(158, 82, 220);
/* oklch */ color: oklch(59.4% 0.206 306.5);
Tailwind
colors: {
  custom: {
    50: '#bf87e8',
    500: '#9e52dc',
    950: '#000000',
  },
}
SCSS
$custom: #9e52dc;
$custom-light: #bf87e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e52dc",
  "rgb": {
    "r": 158,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 273.043,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59366,
    "c": 0.20563,
    "h": 306.5
  },
  "luminance": 0.18471
}

Semantic roles & 50–950 ramp

primary
#9E52DC
secondary
#C2E0AA
accent
#E93F8B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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