#CD54BE#CD54BE

#CD54BE is a light, vivid purple. Relative luminance 0.230; OKLCH L 63.8% C 0.196 H 332.7°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#CD54BE
RGBrgb(205, 84, 190)
HSLhsl(307, 55%, 57%)
HSVhsv(307, 59%, 80%)
CMYKcmyk(0%, 59%, 7.3%, 19.6%)
CIE-LABlab(55.11, 60.66, -32.88)
CIE-LCHlch(55.11, 69.00, 331.54°)
OKLaboklab(63.84% 0.1741 -0.0898)
OKLCHoklch(63.84% 0.196 332.7)
XYZxyz(37.6414, 23.0402, 51.1699)
Luminance0.2304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54BE #54CD63
analogous
#A054CD #CD54BE #CD5482
triadic
#CD54BE #BECD54 #54BECD
tetradic
#CD54BE #CDA054 #54CD63 #5482CD
square
#CD54BE #CDA054 #54CD63 #5482CD
split-complementary
#CD54BE #82CD54 #54CDA0
monochromatic
#812676 #B034A1 #CD54BE #DB83D0 #E9B3E2

Accessibility & contrast

On white

3.75
#CD54BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#CD54BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54BE
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54BE#FFFFFF#000000##000000
##CD54BE1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5079C1
Deuteranopia (green-blind)
#778ABB
Tritanopia (blue-blind)
#D55D81
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd54be;
/* rgb */ color: rgb(205, 84, 190);
/* oklch */ color: oklch(63.8% 0.196 332.7);
Tailwind
colors: {
  custom: {
    50: '#df8bd2',
    500: '#cd54be',
    950: '#000000',
  },
}
SCSS
$custom: #cd54be;
$custom-light: #df8bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54be",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 307.438,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63839,
    "c": 0.19594,
    "h": 332.7
  },
  "luminance": 0.23037
}

Semantic roles & 50–950 ramp

primary
#CD54BE
secondary
#A6D7AC
accent
#DE5C4A
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CD54BE

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

Preview Lab → · Contrast checker → · Palette generator →

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