#CD54C4#CD54C4

#CD54C4 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.1% C 0.201 H 330.6°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#CD54C4
RGBrgb(205, 84, 196)
HSLhsl(304, 55%, 57%)
HSVhsv(304, 59%, 80%)
CMYKcmyk(0%, 59%, 4.4%, 19.6%)
CIE-LABlab(55.39, 61.64, -35.90)
CIE-LCHlch(55.39, 71.33, 329.78°)
OKLaboklab(64.13% 0.1749 -0.0985)
OKLCHoklch(64.13% 0.201 330.6)
XYZxyz(38.3107, 23.3080, 54.6949)
Luminance0.2331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54C4 #54CD5D
analogous
#9A54CD #CD54C4 #CD5488
triadic
#CD54C4 #C4CD54 #54C4CD
tetradic
#CD54C4 #CD9A54 #54CD5D #5488CD
square
#CD54C4 #CD9A54 #54CD5D #5488CD
split-complementary
#CD54C4 #88CD54 #54CD9A
monochromatic
#81267A #B034A7 #CD54C4 #DB83D4 #E9B3E5

Accessibility & contrast

On white

3.71
#CD54C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#CD54C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54C4
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54C4#FFFFFF#000000##000000
##CD54C41.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7AC7
Deuteranopia (green-blind)
#748BC1
Tritanopia (blue-blind)
#D46084
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd54c4;
/* rgb */ color: rgb(205, 84, 196);
/* oklch */ color: oklch(64.1% 0.201 330.6);
Tailwind
colors: {
  custom: {
    50: '#df8bd6',
    500: '#cd54c4',
    950: '#000000',
  },
}
SCSS
$custom: #cd54c4;
$custom-light: #df8bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54c4",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 196
  },
  "hsl": {
    "h": 304.463,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64129,
    "c": 0.20072,
    "h": 330.6
  },
  "luminance": 0.23305
}

Semantic roles & 50–950 ramp

primary
#CD54C4
secondary
#A6D7A9
accent
#DE554A
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD54C4

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

Preview Lab → · Contrast checker → · Palette generator →

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