#CD4EFF#CD4EFF

#CD4EFF is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.8% C 0.259 H 314.6°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#CD4EFF
RGBrgb(205, 78, 255)
HSLhsl(283, 100%, 65%)
HSVhsv(283, 69%, 100%)
CMYKcmyk(19.6%, 69.4%, 0%, 0%)
CIE-LABlab(57.70, 74.73, -65.45)
CIE-LCHlch(57.70, 99.34, 318.79°)
OKLaboklab(66.83% 0.182 -0.1844)
OKLCHoklch(66.83% 0.259 314.6)
XYZxyz(45.9482, 25.6495, 97.1188)
Luminance0.2565 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4EFF #80FF4E
analogous
#744EFF #CD4EFF #FF4ED8
triadic
#CD4EFF #FFCD4E #4EFFCD
tetradic
#CD4EFF #FF744E #80FF4E #4ED8FF
square
#CD4EFF #FF744E #80FF4E #4ED8FF
split-complementary
#CD4EFF #D8FF4E #4EFF74
monochromatic
#9700D3 #BC11FF #CD4EFF #DE8BFF #F0C8FF

Accessibility & contrast

On white

3.43
#CD4EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#CD4EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4EFF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4EFF#FFFFFF#000000##000000
##CD4EFF1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#468EFB
Tritanopia (blue-blind)
#C973A2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd4eff;
/* rgb */ color: rgb(205, 78, 255);
/* oklch */ color: oklch(66.8% 0.259 314.6);
Tailwind
colors: {
  custom: {
    50: '#e18aff',
    500: '#cd4eff',
    950: '#000000',
  },
}
SCSS
$custom: #cd4eff;
$custom-light: #e18aff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4eff",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 255
  },
  "hsl": {
    "h": 283.051,
    "s": 100,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6683,
    "c": 0.25912,
    "h": 314.6
  },
  "luminance": 0.25648
}

Semantic roles & 50–950 ramp

primary
#CD4EFF
secondary
#C7F2B7
accent
#E60041
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160C18
muted
#847D86

Preview Lab

Preview with #CD4EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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