#CD54C8#CD54C8

#CD54C8 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.3% C 0.204 H 329.3°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#CD54C8
RGBrgb(205, 84, 200)
HSLhsl(302, 55%, 57%)
HSVhsv(302, 59%, 80%)
CMYKcmyk(0%, 59%, 2.4%, 19.6%)
CIE-LABlab(55.58, 62.30, -37.90)
CIE-LCHlch(55.58, 72.92, 328.69°)
OKLaboklab(64.33% 0.1754 -0.1042)
OKLCHoklch(64.33% 0.204 329.3)
XYZxyz(38.7721, 23.4925, 57.1247)
Luminance0.2349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54C8 #54CD59
analogous
#9654CD #CD54C8 #CD548C
triadic
#CD54C8 #C8CD54 #54C8CD
tetradic
#CD54C8 #CD9654 #54CD59 #548CCD
square
#CD54C8 #CD9654 #54CD59 #548CCD
split-complementary
#CD54C8 #8CCD54 #54CD96
monochromatic
#81267D #B034AB #CD54C8 #DB83D7 #E9B3E6

Accessibility & contrast

On white

3.69
#CD54C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#CD54C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54C8
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54C8#FFFFFF#000000##000000
##CD54C81.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7BCC
Deuteranopia (green-blind)
#728BC5
Tritanopia (blue-blind)
#D46186
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd54c8;
/* rgb */ color: rgb(205, 84, 200);
/* oklch */ color: oklch(64.3% 0.204 329.3);
Tailwind
colors: {
  custom: {
    50: '#df8bd9',
    500: '#cd54c8',
    950: '#000000',
  },
}
SCSS
$custom: #cd54c8;
$custom-light: #df8bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54c8",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 302.479,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64328,
    "c": 0.20398,
    "h": 329.3
  },
  "luminance": 0.2349
}

Semantic roles & 50–950 ramp

primary
#CD54C8
secondary
#A6D7A8
accent
#DE504A
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD54C8

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

Preview Lab → · Contrast checker → · Palette generator →

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