#CD4FEF#CD4FEF

#CD4FEF is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.9% C 0.244 H 318.3°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#CD4FEF
RGBrgb(205, 79, 239)
HSLhsl(287, 83%, 62%)
HSVhsv(287, 67%, 94%)
CMYKcmyk(14.2%, 66.9%, 0%, 6.3%)
CIE-LABlab(56.88, 71.31, -57.87)
CIE-LCHlch(56.88, 91.83, 320.94°)
OKLaboklab(65.94% 0.1821 -0.1622)
OKLCHoklch(65.94% 0.244 318.3)
XYZxyz(43.5507, 24.8050, 84.1384)
Luminance0.2480 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4FEF #71EF4F
analogous
#7D4FEF #CD4FEF #EF4FC1
triadic
#CD4FEF #EFCD4F #4FEFCD
tetradic
#CD4FEF #EF7D4F #71EF4F #4FC1EF
square
#CD4FEF #EF7D4F #71EF4F #4FC1EF
split-complementary
#CD4FEF #C1EF4F #4FEF7D
monochromatic
#9110B3 #BD17EA #CD4FEF #DD87F4 #EDBFF9

Accessibility & contrast

On white

3.52
#CD4FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#CD4FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4FEF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4FEF#FFFFFF#000000##000000
##CD4FEF1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#578DEB
Tritanopia (blue-blind)
#CC6D99
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd4fef;
/* rgb */ color: rgb(205, 79, 239);
/* oklch */ color: oklch(65.9% 0.244 318.3);
Tailwind
colors: {
  custom: {
    50: '#e08af5',
    500: '#cd4fef',
    950: '#000000',
  },
}
SCSS
$custom: #cd4fef;
$custom-light: #e08af5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4fef",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 239
  },
  "hsl": {
    "h": 287.25,
    "s": 83.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65939,
    "c": 0.24389,
    "h": 318.3
  },
  "luminance": 0.24803
}

Semantic roles & 50–950 ramp

primary
#CD4FEF
secondary
#BCEAB0
accent
#E00634
background
#FEF8FF
surface
#FCF0FE
border
#D5CBD6
text
#160C17
muted
#847D85

Preview Lab

Preview with #CD4FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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