#CD54CB#CD54CB

#CD54CB is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.5% C 0.206 H 328.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#CD54CB
RGBrgb(205, 84, 203)
HSLhsl(301, 55%, 57%)
HSVhsv(301, 59%, 80%)
CMYKcmyk(0%, 59%, 1%, 19.6%)
CIE-LABlab(55.72, 62.81, -39.39)
CIE-LCHlch(55.72, 74.14, 327.91°)
OKLaboklab(64.48% 0.1757 -0.1085)
OKLCHoklch(64.48% 0.206 328.3)
XYZxyz(39.1262, 23.6341, 58.9894)
Luminance0.2363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54CB #54CD56
analogous
#9354CD #CD54CB #CD548F
triadic
#CD54CB #CBCD54 #54CBCD
tetradic
#CD54CB #CD9354 #54CD56 #548FCD
square
#CD54CB #CD9354 #54CD56 #548FCD
split-complementary
#CD54CB #8FCD54 #54CD93
monochromatic
#81267F #B034AE #CD54CB #DB83D9 #E9B3E8

Accessibility & contrast

On white

3.67
#CD54CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#CD54CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54CB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54CB#FFFFFF#000000##000000
##CD54CB1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#487BCF
Deuteranopia (green-blind)
#718BC8
Tritanopia (blue-blind)
#D36288
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd54cb;
/* rgb */ color: rgb(205, 84, 203);
/* oklch */ color: oklch(64.5% 0.206 328.3);
Tailwind
colors: {
  custom: {
    50: '#df8bdb',
    500: '#cd54cb',
    950: '#000000',
  },
}
SCSS
$custom: #cd54cb;
$custom-light: #df8bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54cb",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 300.992,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64479,
    "c": 0.20646,
    "h": 328.3
  },
  "luminance": 0.23632
}

Semantic roles & 50–950 ramp

primary
#CD54CB
secondary
#A6D7A6
accent
#DE4C4A
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD54CB

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

Preview Lab → · Contrast checker → · Palette generator →

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