#CD4FD8#CD4FD8

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

Color values

HEX#CD4FD8
RGBrgb(205, 79, 216)
HSLhsl(295, 64%, 58%)
HSVhsv(295, 63%, 85%)
CMYKcmyk(5.1%, 63.4%, 0%, 15.3%)
CIE-LABlab(55.62, 67.15, -46.95)
CIE-LCHlch(55.62, 81.93, 325.04°)
OKLaboklab(64.62% 0.1823 -0.1303)
OKLCHoklch(64.62% 0.224 324.4)
XYZxyz(40.3665, 23.5313, 67.3682)
Luminance0.2353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4FD8 #5AD84F
analogous
#884FD8 #CD4FD8 #D84F9F
triadic
#CD4FD8 #D8CD4F #4FD8CD
tetradic
#CD4FD8 #D8884F #5AD84F #4F9FD8
square
#CD4FD8 #D8884F #5AD84F #4F9FD8
split-complementary
#CD4FD8 #9FD84F #4FD888
monochromatic
#841F8D #B32ABF #CD4FD8 #DB81E3 #E9B3EE

Accessibility & contrast

On white

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

On black

5.71
#CD4FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4FD8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4FD8#FFFFFF#000000##000000
##CD4FD81.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#347BDC
Deuteranopia (green-blind)
#678AD4
Tritanopia (blue-blind)
#D1648D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd4fd8;
/* rgb */ color: rgb(205, 79, 216);
/* oklch */ color: oklch(64.6% 0.224 324.4);
Tailwind
colors: {
  custom: {
    50: '#e089e4',
    500: '#cd4fd8',
    950: '#000000',
  },
}
SCSS
$custom: #cd4fd8;
$custom-light: #e089e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4fd8",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 216
  },
  "hsl": {
    "h": 295.182,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64616,
    "c": 0.22412,
    "h": 324.4
  },
  "luminance": 0.23529
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD4FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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