#CD50D5#CD50D5

#CD50D5 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.6% C 0.220 H 325.3°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#CD50D5
RGBrgb(205, 80, 213)
HSLhsl(296, 61%, 57%)
HSVhsv(296, 62%, 84%)
CMYKcmyk(3.8%, 62.4%, 0%, 16.5%)
CIE-LABlab(55.61, 66.21, -45.26)
CIE-LCHlch(55.61, 80.20, 325.65°)
OKLaboklab(64.56% 0.1811 -0.1254)
OKLCHoklch(64.56% 0.22 325.3)
XYZxyz(40.0548, 23.5230, 65.3685)
Luminance0.2352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50D5 #58D550
analogous
#8B50D5 #CD50D5 #D5509A
triadic
#CD50D5 #D5CD50 #50D5CD
tetradic
#CD50D5 #D58B50 #58D550 #509AD5
square
#CD50D5 #D58B50 #58D550 #509AD5
split-complementary
#CD50D5 #9AD550 #50D58B
monochromatic
#83218A #B22DBB #CD50D5 #DB81E1 #E9B3ED

Accessibility & contrast

On white

3.68
#CD50D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#CD50D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD50D5
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD50D5#FFFFFF#000000##000000
##CD50D51.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#397BD9
Deuteranopia (green-blind)
#698BD1
Tritanopia (blue-blind)
#D2638C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd50d5;
/* rgb */ color: rgb(205, 80, 213);
/* oklch */ color: oklch(64.6% 0.220 325.3);
Tailwind
colors: {
  custom: {
    50: '#e089e2',
    500: '#cd50d5',
    950: '#000000',
  },
}
SCSS
$custom: #cd50d5;
$custom-light: #e089e2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50d5",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 213
  },
  "hsl": {
    "h": 296.391,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64559,
    "c": 0.22028,
    "h": 325.3
  },
  "luminance": 0.23521
}

Semantic roles & 50–950 ramp

primary
#CD50D5
secondary
#A9DBA6
accent
#E4434D
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD50D5

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

Preview Lab → · Contrast checker → · Palette generator →

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