#CD52E2#CD52E2

#CD52E2 is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.5% C 0.229 H 321.5°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#CD52E2
RGBrgb(205, 82, 226)
HSLhsl(291, 71%, 60%)
HSVhsv(291, 64%, 89%)
CMYKcmyk(9.3%, 63.7%, 0%, 11.4%)
CIE-LABlab(56.59, 67.70, -51.05)
CIE-LCHlch(56.59, 84.79, 322.98°)
OKLaboklab(65.49% 0.1791 -0.1423)
OKLCHoklch(65.49% 0.229 321.5)
XYZxyz(41.9201, 24.5069, 74.4590)
Luminance0.2450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52E2 #67E252
analogous
#8552E2 #CD52E2 #E252AF
triadic
#CD52E2 #E2CD52 #52E2CD
tetradic
#CD52E2 #E28552 #67E252 #52AFE2
square
#CD52E2 #E28552 #67E252 #52AFE2
split-complementary
#CD52E2 #AFE252 #52E285
monochromatic
#8C1B9F #BA23D3 #CD52E2 #DC86EB #EBBBF4

Accessibility & contrast

On white

3.56
#CD52E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#CD52E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52E2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52E2#FFFFFF#000000##000000
##CD52E21.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7FE6
Deuteranopia (green-blind)
#638CDE
Tritanopia (blue-blind)
#CF6A93
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd52e2;
/* rgb */ color: rgb(205, 82, 226);
/* oklch */ color: oklch(65.5% 0.229 321.5);
Tailwind
colors: {
  custom: {
    50: '#e08bec',
    500: '#cd52e2',
    950: '#000000',
  },
}
SCSS
$custom: #cd52e2;
$custom-light: #e08bec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52e2",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 291.25,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65494,
    "c": 0.22878,
    "h": 321.5
  },
  "luminance": 0.24505
}

Semantic roles & 50–950 ramp

primary
#CD52E2
secondary
#B4E3AC
accent
#D3122E
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #CD52E2

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

Preview Lab → · Contrast checker → · Palette generator →

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