#9E52D2#9E52D2

#9E52D2 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.7% C 0.195 H 309.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9E52D2
RGBrgb(158, 82, 210)
HSLhsl(276, 59%, 57%)
HSVhsv(276, 61%, 82%)
CMYKcmyk(24.8%, 61%, 0%, 17.6%)
CIE-LABlab(49.44, 53.54, -53.74)
CIE-LCHlch(49.44, 75.86, 314.89°)
OKLaboklab(58.72% 0.1226 -0.1515)
OKLCHoklch(58.72% 0.195 309)
XYZxyz(28.7484, 17.9573, 62.9119)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E52D2 #86D252
analogous
#5E52D2 #9E52D2 #D252C6
triadic
#9E52D2 #D29E52 #52D29E
tetradic
#9E52D2 #D25E52 #86D252 #52C6D2
square
#9E52D2 #D25E52 #86D252 #52C6D2
split-complementary
#9E52D2 #C6D252 #52D25E
monochromatic
#5E2387 #8030B7 #9E52D2 #B983DF #D4B3EB

Accessibility & contrast

On white

4.57
#9E52D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9E52D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E52D2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E52D2#FFFFFF#000000##000000
##9E52D21.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1872D6
Deuteranopia (green-blind)
#4077CF
Tritanopia (blue-blind)
#976B8A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9e52d2;
/* rgb */ color: rgb(158, 82, 210);
/* oklch */ color: oklch(58.7% 0.195 309.0);
Tailwind
colors: {
  custom: {
    50: '#be86e0',
    500: '#9e52d2',
    950: '#000000',
  },
}
SCSS
$custom: #9e52d2;
$custom-light: #be86e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e52d2",
  "rgb": {
    "r": 158,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 275.625,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58719,
    "c": 0.19492,
    "h": 309
  },
  "luminance": 0.17957
}

Semantic roles & 50–950 ramp

primary
#9E52D2
secondary
#BBDAA6
accent
#E24685
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9E52D2

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

Preview Lab → · Contrast checker → · Palette generator →

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