#CD4EFC#CD4EFC

#CD4EFC is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.6% C 0.256 H 315.3°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#CD4EFC
RGBrgb(205, 78, 252)
HSLhsl(284, 97%, 65%)
HSVhsv(284, 69%, 99%)
CMYKcmyk(18.7%, 69%, 0%, 1.2%)
CIE-LABlab(57.52, 74.16, -64.08)
CIE-LCHlch(57.52, 98.01, 319.17°)
OKLaboklab(66.64% 0.1823 -0.1804)
OKLCHoklch(66.64% 0.256 315.3)
XYZxyz(45.4691, 25.4578, 94.5953)
Luminance0.2546 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4EFC #7DFC4E
analogous
#764EFC #CD4EFC #FC4ED4
triadic
#CD4EFC #FCCD4E #4EFCCD
tetradic
#CD4EFC #FC764E #7DFC4E #4ED4FC
square
#CD4EFC #FC764E #7DFC4E #4ED4FC
split-complementary
#CD4EFC #D4FC4E #4EFC76
monochromatic
#9603CC #BC12FB #CD4EFC #DE8AFD #EFC6FE

Accessibility & contrast

On white

3.45
#CD4EFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#CD4EFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4EFC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4EFC#FFFFFF#000000##000000
##CD4EFC1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#4A8DF8
Tritanopia (blue-blind)
#C972A0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd4efc;
/* rgb */ color: rgb(205, 78, 252);
/* oklch */ color: oklch(66.6% 0.256 315.3);
Tailwind
colors: {
  custom: {
    50: '#e189fe',
    500: '#cd4efc',
    950: '#000000',
  },
}
SCSS
$custom: #cd4efc;
$custom-light: #e189fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4efc",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 252
  },
  "hsl": {
    "h": 283.793,
    "s": 96.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6664,
    "c": 0.25647,
    "h": 315.3
  },
  "luminance": 0.25456
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD4EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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