#CD4DFF#CD4DFF

#CD4DFF is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.7% C 0.260 H 314.7°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#CD4DFF
RGBrgb(205, 77, 255)
HSLhsl(283, 100%, 65%)
HSVhsv(283, 70%, 100%)
CMYKcmyk(19.6%, 69.8%, 0%, 0%)
CIE-LABlab(57.57, 75.11, -65.66)
CIE-LCHlch(57.57, 99.77, 318.84°)
OKLaboklab(66.73% 0.183 -0.185)
OKLCHoklch(66.73% 0.26 314.7)
XYZxyz(45.8777, 25.5085, 97.0953)
Luminance0.2551 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4DFF #7FFF4D
analogous
#744DFF #CD4DFF #FF4DD8
triadic
#CD4DFF #FFCD4D #4DFFCD
tetradic
#CD4DFF #FF744D #7FFF4D #4DD8FF
square
#CD4DFF #FF744D #7FFF4D #4DD8FF
split-complementary
#CD4DFF #D8FF4D #4DFF74
monochromatic
#9700D2 #BC10FF #CD4DFF #DE8AFF #EFC7FF

Accessibility & contrast

On white

3.44
#CD4DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#CD4DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4DFF
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4DFF#FFFFFF#000000##000000
##CD4DFF1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#458DFB
Tritanopia (blue-blind)
#C972A1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd4dff;
/* rgb */ color: rgb(205, 77, 255);
/* oklch */ color: oklch(66.7% 0.260 314.7);
Tailwind
colors: {
  custom: {
    50: '#e189ff',
    500: '#cd4dff',
    950: '#000000',
  },
}
SCSS
$custom: #cd4dff;
$custom-light: #e189ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4dff",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 255
  },
  "hsl": {
    "h": 283.146,
    "s": 100,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66734,
    "c": 0.26024,
    "h": 314.7
  },
  "luminance": 0.25507
}

Semantic roles & 50–950 ramp

primary
#CD4DFF
secondary
#C7F2B6
accent
#E60040
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160C18
muted
#847D86

Preview Lab

Preview with #CD4DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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