#9E52DE#9E52DE

#9E52DE is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.5% C 0.208 H 306.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9E52DE
RGBrgb(158, 82, 222)
HSLhsl(273, 68%, 60%)
HSVhsv(273, 63%, 87%)
CMYKcmyk(28.8%, 63.1%, 0%, 12.9%)
CIE-LABlab(50.19, 56.26, -59.38)
CIE-LCHlch(50.19, 81.80, 313.46°)
OKLaboklab(59.5% 0.1221 -0.1681)
OKLCHoklch(59.5% 0.208 306)
XYZxyz(30.2998, 18.5779, 71.0827)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E52DE #92DE52
analogous
#5852DE #9E52DE #DE52D8
triadic
#9E52DE #DE9E52 #52DE9E
tetradic
#9E52DE #DE5852 #92DE52 #52D8DE
square
#9E52DE #DE5852 #92DE52 #52D8DE
split-complementary
#9E52DE #D8DE52 #52DE58
monochromatic
#601D99 #8027CC #9E52DE #BB85E8 #D8B9F2

Accessibility & contrast

On white

4.45
#9E52DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#9E52DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E52DE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E52DE#FFFFFF#000000##000000
##9E52DE1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E2
Deuteranopia (green-blind)
#3278DB
Tritanopia (blue-blind)
#936F91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9e52de;
/* rgb */ color: rgb(158, 82, 222);
/* oklch */ color: oklch(59.5% 0.208 306.0);
Tailwind
colors: {
  custom: {
    50: '#bf87e9',
    500: '#9e52de',
    950: '#000000',
  },
}
SCSS
$custom: #9e52de;
$custom-light: #bf87e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e52de",
  "rgb": {
    "r": 158,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 272.571,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59498,
    "c": 0.20776,
    "h": 306
  },
  "luminance": 0.18578
}

Semantic roles & 50–950 ramp

primary
#9E52DE
secondary
#C4E1AB
accent
#EB3D8C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E52DE

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

Preview Lab → · Contrast checker → · Palette generator →

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