#CD36CC#CD36CC

#CD36CC is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.7% C 0.243 H 328.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CD36CC
RGBrgb(205, 54, 204)
HSLhsl(300, 60%, 51%)
HSVhsv(300, 74%, 80%)
CMYKcmyk(0%, 73.7%, 0.5%, 19.6%)
CIE-LABlab(51.81, 74.07, -46.13)
CIE-LCHlch(51.81, 87.26, 328.09°)
OKLaboklab(61.68% 0.2072 -0.1278)
OKLCHoklch(61.68% 0.243 328.3)
XYZxyz(37.3947, 19.9799, 59.0020)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD36CC #36CD37
analogous
#8236CD #CD36CC #CD3681
triadic
#CD36CC #CCCD36 #36CCCD
tetradic
#CD36CC #CD8236 #36CD37 #3681CD
square
#CD36CC #CD8236 #36CD37 #3681CD
split-complementary
#CD36CC #81CD36 #36CD82
monochromatic
#6D1B6D #9E279E #CD36CC #D967D8 #E598E5

Accessibility & contrast

On white

4.20
#CD36CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CD36CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD36CC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD36CC#FFFFFF#000000##000000
##CD36CC1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#166FD0
Deuteranopia (green-blind)
#6182C8
Tritanopia (blue-blind)
#D44E7F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd36cc;
/* rgb */ color: rgb(205, 54, 204);
/* oklch */ color: oklch(61.7% 0.243 328.3);
Tailwind
colors: {
  custom: {
    50: '#e07ddc',
    500: '#cd36cc',
    950: '#000000',
  },
}
SCSS
$custom: #cd36cc;
$custom-light: #e07ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd36cc",
  "rgb": {
    "r": 205,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 300.397,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.61677,
    "c": 0.2434,
    "h": 328.3
  },
  "luminance": 0.19977
}

Semantic roles & 50–950 ramp

primary
#CD36CC
secondary
#8ED18E
accent
#E34644
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CD36CC

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

Preview Lab → · Contrast checker → · Palette generator →

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