#CD54CA#CD54CA

#CD54CA is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.4% C 0.206 H 328.6°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#CD54CA
RGBrgb(205, 84, 202)
HSLhsl(301, 55%, 57%)
HSVhsv(301, 59%, 80%)
CMYKcmyk(0%, 59%, 1.5%, 19.6%)
CIE-LABlab(55.67, 62.64, -38.89)
CIE-LCHlch(55.67, 73.73, 328.16°)
OKLaboklab(64.43% 0.1756 -0.1071)
OKLCHoklch(64.43% 0.206 328.6)
XYZxyz(39.0074, 23.5866, 58.3638)
Luminance0.2358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54CA #54CD57
analogous
#9454CD #CD54CA #CD548E
triadic
#CD54CA #CACD54 #54CACD
tetradic
#CD54CA #CD9454 #54CD57 #548ECD
square
#CD54CA #CD9454 #54CD57 #548ECD
split-complementary
#CD54CA #8ECD54 #54CD94
monochromatic
#81267F #B034AD #CD54CA #DB83D9 #E9B3E7

Accessibility & contrast

On white

3.67
#CD54CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#CD54CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54CA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54CA#FFFFFF#000000##000000
##CD54CA1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#487BCE
Deuteranopia (green-blind)
#718BC7
Tritanopia (blue-blind)
#D36287
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd54ca;
/* rgb */ color: rgb(205, 84, 202);
/* oklch */ color: oklch(64.4% 0.206 328.6);
Tailwind
colors: {
  custom: {
    50: '#df8bda',
    500: '#cd54ca',
    950: '#000000',
  },
}
SCSS
$custom: #cd54ca;
$custom-light: #df8bda;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54ca",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 301.488,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64429,
    "c": 0.20563,
    "h": 328.6
  },
  "luminance": 0.23584
}

Semantic roles & 50–950 ramp

primary
#CD54CA
secondary
#A6D7A7
accent
#DE4D4A
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD54CA

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

Preview Lab → · Contrast checker → · Palette generator →

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