#CD52E9#CD52E9

#CD52E9 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.9% C 0.235 H 319.7°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#CD52E9
RGBrgb(205, 82, 233)
HSLhsl(289, 77%, 62%)
HSVhsv(289, 65%, 91%)
CMYKcmyk(12%, 64.8%, 0%, 8.6%)
CIE-LABlab(56.98, 68.98, -54.36)
CIE-LCHlch(56.98, 87.83, 321.76°)
OKLaboklab(65.9% 0.1791 -0.152)
OKLCHoklch(65.9% 0.235 319.7)
XYZxyz(42.9003, 24.8989, 79.6212)
Luminance0.2490 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52E9 #6EE952
analogous
#8252E9 #CD52E9 #E952BA
triadic
#CD52E9 #E9CD52 #52E9CD
tetradic
#CD52E9 #E98252 #6EE952 #52BAE9
square
#CD52E9 #E98252 #6EE952 #52BAE9
split-complementary
#CD52E9 #BAE952 #52E982
monochromatic
#8F16AB #BD1DE1 #CD52E9 #DD88F0 #ECBFF7

Accessibility & contrast

On white

3.51
#CD52E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#CD52E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52E9
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52E9#FFFFFF#000000##000000
##CD52E91.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2180ED
Deuteranopia (green-blind)
#5E8DE5
Tritanopia (blue-blind)
#CE6C97
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd52e9;
/* rgb */ color: rgb(205, 82, 233);
/* oklch */ color: oklch(65.9% 0.235 319.7);
Tailwind
colors: {
  custom: {
    50: '#e08bf1',
    500: '#cd52e9',
    950: '#000000',
  },
}
SCSS
$custom: #cd52e9;
$custom-light: #e08bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52e9",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 288.874,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65896,
    "c": 0.2349,
    "h": 319.7
  },
  "luminance": 0.24897
}

Semantic roles & 50–950 ramp

primary
#CD52E9
secondary
#BAE7AF
accent
#DA0C32
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160D17
muted
#847D85

Preview Lab

Preview with #CD52E9

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

Preview Lab → · Contrast checker → · Palette generator →

#CD52E9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva