#CD52E7#CD52E7

#CD52E7 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.8% C 0.233 H 320.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#CD52E7
RGBrgb(205, 82, 231)
HSLhsl(290, 76%, 61%)
HSVhsv(290, 65%, 91%)
CMYKcmyk(11.3%, 64.5%, 0%, 9.4%)
CIE-LABlab(56.87, 68.62, -53.42)
CIE-LCHlch(56.87, 86.96, 322.10°)
OKLaboklab(65.78% 0.1791 -0.1492)
OKLCHoklch(65.78% 0.233 320.2)
XYZxyz(42.6162, 24.7853, 78.1251)
Luminance0.2478 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52E7 #6CE752
analogous
#8352E7 #CD52E7 #E752B7
triadic
#CD52E7 #E7CD52 #52E7CD
tetradic
#CD52E7 #E78352 #6CE752 #52B7E7
square
#CD52E7 #E78352 #6CE752 #52B7E7
split-complementary
#CD52E7 #B7E752 #52E783
monochromatic
#8E17A7 #BC1FDD #CD52E7 #DD88EE #ECBDF6

Accessibility & contrast

On white

3.53
#CD52E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#CD52E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52E7
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52E7#FFFFFF#000000##000000
##CD52E71.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2580EB
Deuteranopia (green-blind)
#5F8DE3
Tritanopia (blue-blind)
#CE6C96
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd52e7;
/* rgb */ color: rgb(205, 82, 231);
/* oklch */ color: oklch(65.8% 0.233 320.2);
Tailwind
colors: {
  custom: {
    50: '#e08bef',
    500: '#cd52e7',
    950: '#000000',
  },
}
SCSS
$custom: #cd52e7;
$custom-light: #e08bef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52e7",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 289.53,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6578,
    "c": 0.23315,
    "h": 320.2
  },
  "luminance": 0.24783
}

Semantic roles & 50–950 ramp

primary
#CD52E7
secondary
#B8E6AF
accent
#D80E31
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #CD52E7

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

Preview Lab → · Contrast checker → · Palette generator →

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