#CD4CD8#CD4CD8

#CD4CD8 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.3% C 0.228 H 324.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#CD4CD8
RGBrgb(205, 76, 216)
HSLhsl(295, 64%, 57%)
HSVhsv(295, 65%, 85%)
CMYKcmyk(5.1%, 64.8%, 0%, 15.3%)
CIE-LABlab(55.18, 68.35, -47.63)
CIE-LCHlch(55.18, 83.31, 325.13°)
OKLaboklab(64.3% 0.1856 -0.1323)
OKLCHoklch(64.3% 0.228 324.5)
XYZxyz(40.1549, 23.1083, 67.2977)
Luminance0.2311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4CD8 #57D84C
analogous
#874CD8 #CD4CD8 #D84C9D
triadic
#CD4CD8 #D8CD4C #4CD8CD
tetradic
#CD4CD8 #D8874C #57D84C #4C9DD8
square
#CD4CD8 #D8874C #57D84C #4C9DD8
split-complementary
#CD4CD8 #9DD84C #4CD887
monochromatic
#831E8B #B229BE #CD4CD8 #DB7EE3 #E9B1EE

Accessibility & contrast

On white

3.74
#CD4CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#CD4CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4CD8
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4CD8#FFFFFF#000000##000000
##CD4CD81.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7ADC
Deuteranopia (green-blind)
#658AD4
Tritanopia (blue-blind)
#D1618C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd4cd8;
/* rgb */ color: rgb(205, 76, 216);
/* oklch */ color: oklch(64.3% 0.228 324.5);
Tailwind
colors: {
  custom: {
    50: '#e087e4',
    500: '#cd4cd8',
    950: '#000000',
  },
}
SCSS
$custom: #cd4cd8;
$custom-light: #e087e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4cd8",
  "rgb": {
    "r": 205,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 295.286,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64304,
    "c": 0.22797,
    "h": 324.5
  },
  "luminance": 0.23106
}

Semantic roles & 50–950 ramp

primary
#CD4CD8
secondary
#A8DCA4
accent
#E7414E
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CD4CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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