#CD5AFD#CD5AFD

#CD5AFD is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 68.0% C 0.243 H 314.4°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#CD5AFD
RGBrgb(205, 90, 253)
HSLhsl(282, 98%, 67%)
HSVhsv(282, 64%, 99%)
CMYKcmyk(19%, 64.4%, 0%, 0.8%)
CIE-LABlab(59.33, 69.46, -61.73)
CIE-LCHlch(59.33, 92.92, 318.37°)
OKLaboklab(67.96% 0.1698 -0.1736)
OKLCHoklch(67.96% 0.243 314.4)
XYZxyz(46.5597, 27.3848, 95.7426)
Luminance0.2738 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5AFD #8AFD5A
analogous
#7B5AFD #CD5AFD #FD5ADC
triadic
#CD5AFD #FDCD5A #5AFDCD
tetradic
#CD5AFD #FD7B5A #8AFD5A #5ADCFD
square
#CD5AFD #FD7B5A #8AFD5A #5ADCFD
split-complementary
#CD5AFD #DCFD5A #5AFD7B
monochromatic
#9B03DA #BB1EFC #CD5AFD #DF96FE #F2D3FE

Accessibility & contrast

On white

3.24
#CD5AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#CD5AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5AFD
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5AFD#FFFFFF#000000##000000
##CD5AFD1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#5492F9
Tritanopia (blue-blind)
#C979A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cd5afd;
/* rgb */ color: rgb(205, 90, 253);
/* oklch */ color: oklch(68.0% 0.243 314.4);
Tailwind
colors: {
  custom: {
    50: '#e090ff',
    500: '#cd5afd',
    950: '#000000',
  },
}
SCSS
$custom: #cd5afd;
$custom-light: #e090ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5afd",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 253
  },
  "hsl": {
    "h": 282.331,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67957,
    "c": 0.24282,
    "h": 314.4
  },
  "luminance": 0.27383
}

Semantic roles & 50–950 ramp

primary
#CD5AFD
secondary
#CFF3C0
accent
#E60044
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CD5AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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