#CD4AFD#CD4AFD

#CD4AFD is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 66.3% C 0.262 H 315.3°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#CD4AFD
RGBrgb(205, 74, 253)
HSLhsl(284, 98%, 64%)
HSVhsv(284, 71%, 99%)
CMYKcmyk(19%, 70.8%, 0%, 0.8%)
CIE-LABlab(57.05, 75.86, -65.40)
CIE-LCHlch(57.05, 100.16, 319.24°)
OKLaboklab(66.32% 0.1861 -0.1842)
OKLCHoklch(66.32% 0.262 315.3)
XYZxyz(45.3524, 24.9702, 95.3402)
Luminance0.2497 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4AFD #7AFD4A
analogous
#744AFD #CD4AFD #FD4AD3
triadic
#CD4AFD #FDCD4A #4AFDCD
tetradic
#CD4AFD #FD744A #7AFD4A #4AD3FD
square
#CD4AFD #FD744A #7AFD4A #4AD3FD
split-complementary
#CD4AFD #D3FD4A #4AFD74
monochromatic
#9502CA #BC0DFC #CD4AFD #DE87FE #EEC3FE

Accessibility & contrast

On white

3.50
#CD4AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#CD4AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4AFD
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4AFD#FFFFFF#000000##000000
##CD4AFD1.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#458CF9
Tritanopia (blue-blind)
#C9709F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd4afd;
/* rgb */ color: rgb(205, 74, 253);
/* oklch */ color: oklch(66.3% 0.262 315.3);
Tailwind
colors: {
  custom: {
    50: '#e187ff',
    500: '#cd4afd',
    950: '#000000',
  },
}
SCSS
$custom: #cd4afd;
$custom-light: #e187ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4afd",
  "rgb": {
    "r": 205,
    "g": 74,
    "b": 253
  },
  "hsl": {
    "h": 283.911,
    "s": 97.814,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66323,
    "c": 0.26182,
    "h": 315.3
  },
  "luminance": 0.24969
}

Semantic roles & 50–950 ramp

primary
#CD4AFD
secondary
#C3F1B2
accent
#E6003E
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160C18
muted
#847D86

Preview Lab

Preview with #CD4AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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