#CD54BF#CD54BF

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

Color values

HEX#CD54BF
RGBrgb(205, 84, 191)
HSLhsl(307, 55%, 57%)
HSVhsv(307, 59%, 80%)
CMYKcmyk(0%, 59%, 6.8%, 19.6%)
CIE-LABlab(55.16, 60.82, -33.39)
CIE-LCHlch(55.16, 69.38, 331.23°)
OKLaboklab(63.89% 0.1743 -0.0913)
OKLCHoklch(63.89% 0.197 332.4)
XYZxyz(37.7511, 23.0841, 51.7475)
Luminance0.2308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54BF #54CD62
analogous
#9F54CD #CD54BF #CD5483
triadic
#CD54BF #BFCD54 #54BFCD
tetradic
#CD54BF #CD9F54 #54CD62 #5483CD
square
#CD54BF #CD9F54 #54CD62 #5483CD
split-complementary
#CD54BF #83CD54 #54CD9F
monochromatic
#812676 #B034A2 #CD54BF #DB83D1 #E9B3E2

Accessibility & contrast

On white

3.74
#CD54BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#CD54BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54BF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54BF#FFFFFF#000000##000000
##CD54BF1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5079C2
Deuteranopia (green-blind)
#768ABC
Tritanopia (blue-blind)
#D55E82
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd54bf;
/* rgb */ color: rgb(205, 84, 191);
/* oklch */ color: oklch(63.9% 0.197 332.4);
Tailwind
colors: {
  custom: {
    50: '#df8bd2',
    500: '#cd54bf',
    950: '#000000',
  },
}
SCSS
$custom: #cd54bf;
$custom-light: #df8bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54bf",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 306.942,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63887,
    "c": 0.19673,
    "h": 332.4
  },
  "luminance": 0.23081
}

Semantic roles & 50–950 ramp

primary
#CD54BF
secondary
#A6D7AB
accent
#DE5B4A
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CD54BF

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

Preview Lab → · Contrast checker → · Palette generator →

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