#CD52E5#CD52E5

#CD52E5 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.7% C 0.231 H 320.7°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#CD52E5
RGBrgb(205, 82, 229)
HSLhsl(290, 74%, 61%)
HSVhsv(290, 64%, 90%)
CMYKcmyk(10.5%, 64.2%, 0%, 10.2%)
CIE-LABlab(56.76, 68.25, -52.47)
CIE-LCHlch(56.76, 86.09, 322.45°)
OKLaboklab(65.66% 0.1792 -0.1464)
OKLCHoklch(65.66% 0.231 320.7)
XYZxyz(42.3353, 24.6730, 76.6459)
Luminance0.2467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52E5 #6AE552
analogous
#8352E5 #CD52E5 #E552B3
triadic
#CD52E5 #E5CD52 #52E5CD
tetradic
#CD52E5 #E58352 #6AE552 #52B3E5
square
#CD52E5 #E58352 #6AE552 #52B3E5
split-complementary
#CD52E5 #B3E552 #52E583
monochromatic
#8D19A4 #BB21D9 #CD52E5 #DC87ED #ECBCF5

Accessibility & contrast

On white

3.54
#CD52E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#CD52E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52E5
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52E5#FFFFFF#000000##000000
##CD52E51.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#287FE9
Deuteranopia (green-blind)
#608DE1
Tritanopia (blue-blind)
#CE6B95
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd52e5;
/* rgb */ color: rgb(205, 82, 229);
/* oklch */ color: oklch(65.7% 0.231 320.7);
Tailwind
colors: {
  custom: {
    50: '#e08bee',
    500: '#cd52e5',
    950: '#000000',
  },
}
SCSS
$custom: #cd52e5;
$custom-light: #e08bee;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52e5",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 229
  },
  "hsl": {
    "h": 290.204,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65665,
    "c": 0.23139,
    "h": 320.7
  },
  "luminance": 0.24671
}

Semantic roles & 50–950 ramp

primary
#CD52E5
secondary
#B7E5AE
accent
#D61030
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #CD52E5

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

Preview Lab → · Contrast checker → · Palette generator →

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