#9E52DB#9E52DB

#9E52DB is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.3% C 0.205 H 306.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9E52DB
RGBrgb(158, 82, 219)
HSLhsl(273, 66%, 59%)
HSVhsv(273, 63%, 86%)
CMYKcmyk(27.9%, 62.6%, 0%, 14.1%)
CIE-LABlab(50.00, 55.58, -57.98)
CIE-LCHlch(50.00, 80.32, 313.79°)
OKLaboklab(59.3% 0.1223 -0.164)
OKLCHoklch(59.3% 0.205 306.7)
XYZxyz(29.9013, 18.4185, 68.9840)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E52DB #8FDB52
analogous
#5A52DB #9E52DB #DB52D3
triadic
#9E52DB #DB9E52 #52DB9E
tetradic
#9E52DB #DB5A52 #8FDB52 #52D3DB
square
#9E52DB #DB5A52 #8FDB52 #52D3DB
split-complementary
#9E52DB #D3DB52 #52DB5A
monochromatic
#601F94 #8129C6 #9E52DB #BA85E6 #D7B7F0

Accessibility & contrast

On white

4.48
#9E52DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9E52DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E52DB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E52DB#FFFFFF#000000##000000
##9E52DB1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#3677D8
Tritanopia (blue-blind)
#946E8F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9e52db;
/* rgb */ color: rgb(158, 82, 219);
/* oklch */ color: oklch(59.3% 0.205 306.7);
Tailwind
colors: {
  custom: {
    50: '#bf87e7',
    500: '#9e52db',
    950: '#000000',
  },
}
SCSS
$custom: #9e52db;
$custom-light: #bf87e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e52db",
  "rgb": {
    "r": 158,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 273.285,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.593,
    "c": 0.20456,
    "h": 306.7
  },
  "luminance": 0.18418
}

Semantic roles & 50–950 ramp

primary
#9E52DB
secondary
#C1DFAA
accent
#E93F8B
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E52DB

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

Preview Lab → · Contrast checker → · Palette generator →

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