#9E52CD#9E52CD

#9E52CD is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.4% C 0.190 H 310.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9E52CD
RGBrgb(158, 82, 205)
HSLhsl(277, 55%, 56%)
HSVhsv(277, 60%, 80%)
CMYKcmyk(22.9%, 60%, 0%, 19.6%)
CIE-LABlab(49.14, 52.43, -51.36)
CIE-LCHlch(49.14, 73.39, 315.59°)
OKLaboklab(58.41% 0.1227 -0.1446)
OKLCHoklch(58.41% 0.19 310.3)
XYZxyz(28.1352, 17.7120, 59.6824)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E52CD #81CD52
analogous
#6152CD #9E52CD #CD52BF
triadic
#9E52CD #CD9E52 #52CD9E
tetradic
#9E52CD #CD6152 #81CD52 #52BFCD
square
#9E52CD #CD6152 #81CD52 #52BFCD
split-complementary
#9E52CD #BFCD52 #52CD61
monochromatic
#5D2580 #8033AF #9E52CD #B981DB #D3B1E8

Accessibility & contrast

On white

4.62
#9E52CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9E52CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9E52CD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E52CD#FFFFFF#000000##FFFFFF
##9E52CD1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2271D1
Deuteranopia (green-blind)
#4576CA
Tritanopia (blue-blind)
#986988
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9e52cd;
/* rgb */ color: rgb(158, 82, 205);
/* oklch */ color: oklch(58.4% 0.190 310.3);
Tailwind
colors: {
  custom: {
    50: '#be86dd',
    500: '#9e52cd',
    950: '#000000',
  },
}
SCSS
$custom: #9e52cd;
$custom-light: #be86dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e52cd",
  "rgb": {
    "r": 158,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 277.073,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58406,
    "c": 0.18959,
    "h": 310.3
  },
  "luminance": 0.17711
}

Semantic roles & 50–950 ramp

primary
#9E52CD
secondary
#B7D7A4
accent
#DE4982
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9E52CD

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

Preview Lab → · Contrast checker → · Palette generator →

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