#CD52F3#CD52F3

#CD52F3 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.5% C 0.244 H 317.2°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#CD52F3
RGBrgb(205, 82, 243)
HSLhsl(286, 87%, 64%)
HSVhsv(286, 66%, 95%)
CMYKcmyk(15.6%, 66.3%, 0%, 4.7%)
CIE-LABlab(57.55, 70.86, -59.04)
CIE-LCHlch(57.55, 92.23, 320.20°)
OKLaboklab(66.49% 0.1788 -0.1656)
OKLCHoklch(66.49% 0.244 317.2)
XYZxyz(44.3694, 25.4866, 87.3589)
Luminance0.2549 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52F3 #78F352
analogous
#7C52F3 #CD52F3 #F352C8
triadic
#CD52F3 #F3CD52 #52F3CD
tetradic
#CD52F3 #F37C52 #78F352 #52C8F3
square
#CD52F3 #F37C52 #78F352 #52C8F3
split-complementary
#CD52F3 #C8F352 #52F37C
monochromatic
#940DBD #BC19EF #CD52F3 #DE8BF7 #EEC4FB

Accessibility & contrast

On white

3.44
#CD52F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#CD52F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52F3
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52F3#FFFFFF#000000##000000
##CD52F31.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083F8
Deuteranopia (green-blind)
#568EEF
Tritanopia (blue-blind)
#CB709C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd52f3;
/* rgb */ color: rgb(205, 82, 243);
/* oklch */ color: oklch(66.5% 0.244 317.2);
Tailwind
colors: {
  custom: {
    50: '#e08bf8',
    500: '#cd52f3',
    950: '#000000',
  },
}
SCSS
$custom: #cd52f3;
$custom-light: #e08bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52f3",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 285.839,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66489,
    "c": 0.24376,
    "h": 317.2
  },
  "luminance": 0.25485
}

Semantic roles & 50–950 ramp

primary
#CD52F3
secondary
#C1EDB4
accent
#E40237
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD52F3

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

Preview Lab → · Contrast checker → · Palette generator →

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