#CD54DB#CD54DB

#CD54DB is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.3% C 0.220 H 323.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#CD54DB
RGBrgb(205, 84, 219)
HSLhsl(294, 65%, 59%)
HSVhsv(294, 62%, 86%)
CMYKcmyk(6.4%, 61.6%, 0%, 14.1%)
CIE-LABlab(56.52, 65.60, -47.21)
CIE-LCHlch(56.52, 80.82, 324.26°)
OKLaboklab(65.32% 0.1767 -0.1311)
OKLCHoklch(65.32% 0.22 323.4)
XYZxyz(41.1321, 24.4365, 69.5543)
Luminance0.2443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54DB #62DB54
analogous
#8A54DB #CD54DB #DB54A5
triadic
#CD54DB #DBCD54 #54DBCD
tetradic
#CD54DB #DB8A54 #62DB54 #54A5DB
square
#CD54DB #DB8A54 #62DB54 #54A5DB
split-complementary
#CD54DB #A5DB54 #54DB8A
monochromatic
#891F95 #B72AC8 #CD54DB #DC87E6 #EBB9F0

Accessibility & contrast

On white

3.57
#CD54DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#CD54DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54DB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54DB#FFFFFF#000000##000000
##CD54DB1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#397EDF
Deuteranopia (green-blind)
#688CD7
Tritanopia (blue-blind)
#D06890
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd54db;
/* rgb */ color: rgb(205, 84, 219);
/* oklch */ color: oklch(65.3% 0.220 323.4);
Tailwind
colors: {
  custom: {
    50: '#df8ce7',
    500: '#cd54db',
    950: '#000000',
  },
}
SCSS
$custom: #cd54db;
$custom-light: #df8ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54db",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 293.778,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65323,
    "c": 0.22005,
    "h": 323.4
  },
  "luminance": 0.24434
}

Semantic roles & 50–950 ramp

primary
#CD54DB
secondary
#B1E0AB
accent
#E84051
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #CD54DB

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

Preview Lab → · Contrast checker → · Palette generator →

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