#CD5FD8#CD5FD8

#CD5FD8 is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.5% C 0.202 H 323.9°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#CD5FD8
RGBrgb(205, 95, 216)
HSLhsl(295, 61%, 61%)
HSVhsv(295, 56%, 85%)
CMYKcmyk(5.1%, 56%, 0%, 15.3%)
CIE-LABlab(58.15, 60.19, -42.93)
CIE-LCHlch(58.15, 73.93, 324.50°)
OKLaboklab(66.46% 0.1631 -0.1188)
OKLCHoklch(66.46% 0.202 323.9)
XYZxyz(41.6626, 26.1236, 67.8003)
Luminance0.2612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FD8 #6AD85F
analogous
#905FD8 #CD5FD8 #D85FA7
triadic
#CD5FD8 #D8CD5F #5FD8CD
tetradic
#CD5FD8 #D8905F #6AD85F #5FA7D8
square
#CD5FD8 #D8905F #6AD85F #5FA7D8
split-complementary
#CD5FD8 #A7D85F #5FD890
monochromatic
#8D2598 #BB31C9 #CD5FD8 #DC90E4 #ECC1F0

Accessibility & contrast

On white

3.37
#CD5FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#CD5FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FD8
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FD8#FFFFFF#000000##000000
##CD5FD81.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C83DC
Deuteranopia (green-blind)
#7190D5
Tritanopia (blue-blind)
#D16F93
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cd5fd8;
/* rgb */ color: rgb(205, 95, 216);
/* oklch */ color: oklch(66.5% 0.202 323.9);
Tailwind
colors: {
  custom: {
    50: '#df92e4',
    500: '#cd5fd8',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fd8;
$custom-light: #df92e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fd8",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 216
  },
  "hsl": {
    "h": 294.545,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66463,
    "c": 0.2018,
    "h": 323.9
  },
  "luminance": 0.26121
}

Semantic roles & 50–950 ramp

primary
#CD5FD8
secondary
#B7E0B3
accent
#C81D2D
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160D15
muted
#847E84

Preview Lab

Preview with #CD5FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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