#CD54C0#CD54C0

#CD54C0 is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.9% C 0.198 H 332.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#CD54C0
RGBrgb(205, 84, 192)
HSLhsl(306, 55%, 57%)
HSVhsv(306, 59%, 80%)
CMYKcmyk(0%, 59%, 6.3%, 19.6%)
CIE-LABlab(55.20, 60.98, -33.89)
CIE-LCHlch(55.20, 69.77, 330.93°)
OKLaboklab(63.93% 0.1744 -0.0927)
OKLCHoklch(63.93% 0.198 332)
XYZxyz(37.8615, 23.1283, 52.3290)
Luminance0.2313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54C0 #54CD61
analogous
#9E54CD #CD54C0 #CD5484
triadic
#CD54C0 #C0CD54 #54C0CD
tetradic
#CD54C0 #CD9E54 #54CD61 #5484CD
square
#CD54C0 #CD9E54 #54CD61 #5484CD
split-complementary
#CD54C0 #84CD54 #54CD9E
monochromatic
#812677 #B034A3 #CD54C0 #DB83D1 #E9B3E3

Accessibility & contrast

On white

3.73
#CD54C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#CD54C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54C0
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54C0#FFFFFF#000000##000000
##CD54C01.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F79C3
Deuteranopia (green-blind)
#768ABD
Tritanopia (blue-blind)
#D55E82
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd54c0;
/* rgb */ color: rgb(205, 84, 192);
/* oklch */ color: oklch(63.9% 0.198 332.0);
Tailwind
colors: {
  custom: {
    50: '#df8bd3',
    500: '#cd54c0',
    950: '#000000',
  },
}
SCSS
$custom: #cd54c0;
$custom-light: #df8bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54c0",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 192
  },
  "hsl": {
    "h": 306.446,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63935,
    "c": 0.19752,
    "h": 332
  },
  "luminance": 0.23126
}

Semantic roles & 50–950 ramp

primary
#CD54C0
secondary
#A6D7AB
accent
#DE5A4A
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD54C0

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

Preview Lab → · Contrast checker → · Palette generator →

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