#CD4FED#CD4FED

#CD4FED is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.8% C 0.242 H 318.8°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#CD4FED
RGBrgb(205, 79, 237)
HSLhsl(288, 81%, 62%)
HSVhsv(288, 67%, 93%)
CMYKcmyk(13.5%, 66.7%, 0%, 7.1%)
CIE-LABlab(56.77, 70.94, -56.93)
CIE-LCHlch(56.77, 90.96, 321.25°)
OKLaboklab(65.82% 0.1822 -0.1595)
OKLCHoklch(65.82% 0.242 318.8)
XYZxyz(43.2568, 24.6875, 82.5910)
Luminance0.2469 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4FED #6FED4F
analogous
#7E4FED #CD4FED #ED4FBE
triadic
#CD4FED #EDCD4F #4FEDCD
tetradic
#CD4FED #ED7E4F #6FED4F #4FBEED
square
#CD4FED #ED7E4F #6FED4F #4FBEED
split-complementary
#CD4FED #BEED4F #4FED7E
monochromatic
#9012B0 #BD18E7 #CD4FED #DD87F3 #EDBEF8

Accessibility & contrast

On white

3.54
#CD4FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#CD4FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4FED
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4FED#FFFFFF#000000##000000
##CD4FED1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0680F2
Deuteranopia (green-blind)
#588CE9
Tritanopia (blue-blind)
#CD6C98
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd4fed;
/* rgb */ color: rgb(205, 79, 237);
/* oklch */ color: oklch(65.8% 0.242 318.8);
Tailwind
colors: {
  custom: {
    50: '#e089f3',
    500: '#cd4fed',
    950: '#000000',
  },
}
SCSS
$custom: #cd4fed;
$custom-light: #e089f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4fed",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 237
  },
  "hsl": {
    "h": 287.848,
    "s": 81.443,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6582,
    "c": 0.24215,
    "h": 318.8
  },
  "luminance": 0.24686
}

Semantic roles & 50–950 ramp

primary
#CD4FED
secondary
#BBE9AF
accent
#DE0833
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CD4FED

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

Preview Lab → · Contrast checker → · Palette generator →

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