#CD54BB#CD54BB

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

Color values

HEX#CD54BB
RGBrgb(205, 84, 187)
HSLhsl(309, 55%, 57%)
HSVhsv(309, 59%, 80%)
CMYKcmyk(0%, 59%, 8.8%, 19.6%)
CIE-LABlab(54.98, 60.17, -31.36)
CIE-LCHlch(54.98, 67.86, 332.47°)
OKLaboklab(63.7% 0.1737 -0.0855)
OKLCHoklch(63.7% 0.194 333.8)
XYZxyz(37.3169, 22.9104, 49.4608)
Luminance0.2291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54BB #54CD66
analogous
#A354CD #CD54BB #CD547F
triadic
#CD54BB #BBCD54 #54BBCD
tetradic
#CD54BB #CDA354 #54CD66 #547FCD
square
#CD54BB #CDA354 #54CD66 #547FCD
split-complementary
#CD54BB #7FCD54 #54CDA3
monochromatic
#812673 #B0349E #CD54BB #DB83CE #E9B3E1

Accessibility & contrast

On white

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

On black

5.58
#CD54BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54BB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54BB#FFFFFF#000000##000000
##CD54BB1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5278BE
Deuteranopia (green-blind)
#788AB8
Tritanopia (blue-blind)
#D65C80
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd54bb;
/* rgb */ color: rgb(205, 84, 187);
/* oklch */ color: oklch(63.7% 0.194 333.8);
Tailwind
colors: {
  custom: {
    50: '#df8bcf',
    500: '#cd54bb',
    950: '#000000',
  },
}
SCSS
$custom: #cd54bb;
$custom-light: #df8bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54bb",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 308.926,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63697,
    "c": 0.1936,
    "h": 333.8
  },
  "luminance": 0.22908
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD54BB

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

Preview Lab → · Contrast checker → · Palette generator →

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