#CD54BC#CD54BC

#CD54BC is a light, vivid purple. Relative luminance 0.230; OKLCH L 63.7% C 0.194 H 333.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#CD54BC
RGBrgb(205, 84, 188)
HSLhsl(308, 55%, 57%)
HSVhsv(308, 59%, 80%)
CMYKcmyk(0%, 59%, 8.3%, 19.6%)
CIE-LABlab(55.02, 60.33, -31.87)
CIE-LCHlch(55.02, 68.23, 332.15°)
OKLaboklab(63.74% 0.1739 -0.0869)
OKLCHoklch(63.74% 0.194 333.4)
XYZxyz(37.4243, 22.9534, 50.0265)
Luminance0.2295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54BC #54CD65
analogous
#A254CD #CD54BC #CD5480
triadic
#CD54BC #BCCD54 #54BCCD
tetradic
#CD54BC #CDA254 #54CD65 #5480CD
square
#CD54BC #CDA254 #54CD65 #5480CD
split-complementary
#CD54BC #80CD54 #54CDA2
monochromatic
#812674 #B0349F #CD54BC #DB83CF #E9B3E1

Accessibility & contrast

On white

3.76
#CD54BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#CD54BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54BC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54BC#FFFFFF#000000##000000
##CD54BC1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5178BF
Deuteranopia (green-blind)
#778AB9
Tritanopia (blue-blind)
#D65D80
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd54bc;
/* rgb */ color: rgb(205, 84, 188);
/* oklch */ color: oklch(63.7% 0.194 333.4);
Tailwind
colors: {
  custom: {
    50: '#df8bd0',
    500: '#cd54bc',
    950: '#000000',
  },
}
SCSS
$custom: #cd54bc;
$custom-light: #df8bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54bc",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 308.43,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63744,
    "c": 0.19437,
    "h": 333.4
  },
  "luminance": 0.22951
}

Semantic roles & 50–950 ramp

primary
#CD54BC
secondary
#A6D7AD
accent
#DE5F4A
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CD54BC

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

Preview Lab → · Contrast checker → · Palette generator →

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