#CD4CFD#CD4CFD

#CD4CFD is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.5% C 0.260 H 315.2°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#CD4CFD
RGBrgb(205, 76, 253)
HSLhsl(284, 98%, 65%)
HSVhsv(284, 70%, 99%)
CMYKcmyk(19%, 70%, 0%, 0.8%)
CIE-LABlab(57.31, 75.11, -64.97)
CIE-LCHlch(57.31, 99.31, 319.14°)
OKLaboklab(66.51% 0.1842 -0.183)
OKLCHoklch(66.51% 0.26 315.2)
XYZxyz(45.4880, 25.2415, 95.3854)
Luminance0.2524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4CFD #7CFD4C
analogous
#754CFD #CD4CFD #FD4CD4
triadic
#CD4CFD #FDCD4C #4CFDCD
tetradic
#CD4CFD #FD754C #7CFD4C #4CD4FD
square
#CD4CFD #FD754C #7CFD4C #4CD4FD
split-complementary
#CD4CFD #D4FD4C #4CFD75
monochromatic
#9602CC #BC0FFC #CD4CFD #DE89FE #EFC5FE

Accessibility & contrast

On white

3.47
#CD4CFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#CD4CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4CFD
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4CFD#FFFFFF#000000##000000
##CD4CFD1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#478DF9
Tritanopia (blue-blind)
#C971A0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd4cfd;
/* rgb */ color: rgb(205, 76, 253);
/* oklch */ color: oklch(66.5% 0.260 315.2);
Tailwind
colors: {
  custom: {
    50: '#e188ff',
    500: '#cd4cfd',
    950: '#000000',
  },
}
SCSS
$custom: #cd4cfd;
$custom-light: #e188ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4cfd",
  "rgb": {
    "r": 205,
    "g": 76,
    "b": 253
  },
  "hsl": {
    "h": 283.729,
    "s": 97.79,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66511,
    "c": 0.25961,
    "h": 315.2
  },
  "luminance": 0.2524
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD4CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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