#CD50D8#CD50D8

#CD50D8 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.7% C 0.223 H 324.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#CD50D8
RGBrgb(205, 80, 216)
HSLhsl(295, 64%, 58%)
HSVhsv(295, 63%, 85%)
CMYKcmyk(5.1%, 63%, 0%, 15.3%)
CIE-LABlab(55.76, 66.74, -46.71)
CIE-LCHlch(55.76, 81.46, 325.01°)
OKLaboklab(64.72% 0.1812 -0.1297)
OKLCHoklch(64.72% 0.223 324.4)
XYZxyz(40.4391, 23.6767, 67.3925)
Luminance0.2367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50D8 #5BD850
analogous
#8950D8 #CD50D8 #D8509F
triadic
#CD50D8 #D8CD50 #50D8CD
tetradic
#CD50D8 #D88950 #5BD850 #509FD8
square
#CD50D8 #D88950 #5BD850 #509FD8
split-complementary
#CD50D8 #9FD850 #50D889
monochromatic
#85208E #B42BC0 #CD50D8 #DB82E3 #EAB4EE

Accessibility & contrast

On white

3.66
#CD50D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD50D8#FFFFFF#000000##000000
##CD50D81.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#367CDC
Deuteranopia (green-blind)
#678BD4
Tritanopia (blue-blind)
#D1648D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd50d8;
/* rgb */ color: rgb(205, 80, 216);
/* oklch */ color: oklch(64.7% 0.223 324.4);
Tailwind
colors: {
  custom: {
    50: '#e089e4',
    500: '#cd50d8',
    950: '#000000',
  },
}
SCSS
$custom: #cd50d8;
$custom-light: #e089e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50d8",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 216
  },
  "hsl": {
    "h": 295.147,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64722,
    "c": 0.22282,
    "h": 324.4
  },
  "luminance": 0.23674
}

Semantic roles & 50–950 ramp

primary
#CD50D8
secondary
#ABDDA7
accent
#E7414F
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CD50D8

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

Preview Lab → · Contrast checker → · Palette generator →

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