#9D52EA#9D52EA

#9D52EA is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.2% C 0.220 H 303.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9D52EA
RGBrgb(157, 82, 234)
HSLhsl(270, 78%, 62%)
HSVhsv(270, 65%, 92%)
CMYKcmyk(32.9%, 65%, 0%, 8.2%)
CIE-LABlab(50.85, 58.83, -65.09)
CIE-LCHlch(50.85, 87.74, 312.11°)
OKLaboklab(60.2% 0.1199 -0.1849)
OKLCHoklch(60.2% 0.22 303)
XYZxyz(31.7698, 19.1432, 79.8472)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D52EA #9FEA52
analogous
#5253EA #9D52EA #E952EA
triadic
#9D52EA #EA9D52 #52EA9D
tetradic
#9D52EA #EA5253 #9FEA52 #52EAE9
square
#9D52EA #EA5253 #9FEA52 #52EAE9
split-complementary
#9D52EA #EAE952 #53EA52
monochromatic
#6015AD #7E1CE3 #9D52EA #BC89F1 #DBBFF7

Accessibility & contrast

On white

4.35
#9D52EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#9D52EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D52EA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D52EA#FFFFFF#000000##000000
##9D52EA1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#1879E7
Tritanopia (blue-blind)
#8E7497
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9d52ea;
/* rgb */ color: rgb(157, 82, 234);
/* oklch */ color: oklch(60.2% 0.220 303.0);
Tailwind
colors: {
  custom: {
    50: '#bf87f2',
    500: '#9d52ea',
    950: '#000000',
  },
}
SCSS
$custom: #9d52ea;
$custom-light: #bf87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d52ea",
  "rgb": {
    "r": 157,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 269.605,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.602,
    "c": 0.22036,
    "h": 303
  },
  "luminance": 0.19143
}

Semantic roles & 50–950 ramp

primary
#9D52EA
secondary
#CCE8B0
accent
#DB0B74
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D52EA

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

Preview Lab → · Contrast checker → · Palette generator →

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