#CD54D3#CD54D3

#CD54D3 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 64.9% C 0.213 H 325.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#CD54D3
RGBrgb(205, 84, 211)
HSLhsl(297, 59%, 58%)
HSVhsv(297, 60%, 83%)
CMYKcmyk(2.8%, 60.2%, 0%, 17.3%)
CIE-LABlab(56.11, 64.19, -43.32)
CIE-LCHlch(56.11, 77.44, 325.98°)
OKLaboklab(64.89% 0.1763 -0.1199)
OKLCHoklch(64.89% 0.213 325.8)
XYZxyz(40.1042, 24.0253, 64.1404)
Luminance0.2402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54D3 #5AD354
analogous
#8D54D3 #CD54D3 #D3549A
triadic
#CD54D3 #D3CD54 #54D3CD
tetradic
#CD54D3 #D38D54 #5AD354 #549AD3
square
#CD54D3 #D38D54 #5AD354 #549AD3
split-complementary
#CD54D3 #9AD354 #54D38D
monochromatic
#842389 #B330BA #CD54D3 #DB85E0 #E9B5EC

Accessibility & contrast

On white

3.62
#CD54D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#CD54D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54D3
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54D3#FFFFFF#000000##000000
##CD54D31.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#417DD7
Deuteranopia (green-blind)
#6D8CD0
Tritanopia (blue-blind)
#D2658C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd54d3;
/* rgb */ color: rgb(205, 84, 211);
/* oklch */ color: oklch(64.9% 0.213 325.8);
Tailwind
colors: {
  custom: {
    50: '#df8be1',
    500: '#cd54d3',
    950: '#000000',
  },
}
SCSS
$custom: #cd54d3;
$custom-light: #df8be1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54d3",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 211
  },
  "hsl": {
    "h": 297.165,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64894,
    "c": 0.21317,
    "h": 325.8
  },
  "luminance": 0.24023
}

Semantic roles & 50–950 ramp

primary
#CD54D3
secondary
#AADBA8
accent
#E2464D
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #CD54D3

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

Preview Lab → · Contrast checker → · Palette generator →

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