#CD54CF#CD54CF

#CD54CF is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.7% C 0.210 H 327.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#CD54CF
RGBrgb(205, 84, 207)
HSLhsl(299, 56%, 57%)
HSVhsv(299, 59%, 81%)
CMYKcmyk(1%, 59.4%, 0%, 18.8%)
CIE-LABlab(55.91, 63.49, -41.36)
CIE-LCHlch(55.91, 75.78, 326.92°)
OKLaboklab(64.69% 0.176 -0.1142)
OKLCHoklch(64.69% 0.21 327)
XYZxyz(39.6090, 23.8272, 61.5322)
Luminance0.2382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54CF #56CF54
analogous
#8F54CF #CD54CF #CF5494
triadic
#CD54CF #CFCD54 #54CFCD
tetradic
#CD54CF #CF8F54 #56CF54 #5494CF
square
#CD54CF #CF8F54 #56CF54 #5494CF
split-complementary
#CD54CF #94CF54 #54CF8F
monochromatic
#822584 #B132B3 #CD54CF #DB84DC #E9B4EA

Accessibility & contrast

On white

3.64
#CD54CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#CD54CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54CF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54CF#FFFFFF#000000##000000
##CD54CF1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#447CD3
Deuteranopia (green-blind)
#6F8BCC
Tritanopia (blue-blind)
#D3648A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd54cf;
/* rgb */ color: rgb(205, 84, 207);
/* oklch */ color: oklch(64.7% 0.210 327.0);
Tailwind
colors: {
  custom: {
    50: '#df8bde',
    500: '#cd54cf',
    950: '#000000',
  },
}
SCSS
$custom: #cd54cf;
$custom-light: #df8bde;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54cf",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 299.024,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64685,
    "c": 0.2098,
    "h": 327
  },
  "luminance": 0.23825
}

Semantic roles & 50–950 ramp

primary
#CD54CF
secondary
#A7D8A6
accent
#DF484B
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD54CF

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

Preview Lab → · Contrast checker → · Palette generator →

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