#CD4CEF#CD4CEF

#CD4CEF is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.6% C 0.247 H 318.5°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#CD4CEF
RGBrgb(205, 76, 239)
HSLhsl(287, 84%, 62%)
HSVhsv(287, 68%, 94%)
CMYKcmyk(14.2%, 68.2%, 0%, 6.3%)
CIE-LABlab(56.47, 72.48, -58.53)
CIE-LCHlch(56.47, 93.16, 321.08°)
OKLaboklab(65.64% 0.1852 -0.1641)
OKLCHoklch(65.64% 0.247 318.5)
XYZxyz(43.3391, 24.3820, 84.0679)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4CEF #6EEF4C
analogous
#7C4CEF #CD4CEF #EF4CBF
triadic
#CD4CEF #EFCD4C #4CEFCD
tetradic
#CD4CEF #EF7C4C #6EEF4C #4CBFEF
square
#CD4CEF #EF7C4C #6EEF4C #4CBFEF
split-complementary
#CD4CEF #BFEF4C #4CEF7C
monochromatic
#8F10B1 #BD15E9 #CD4CEF #DD84F4 #ECBCF9

Accessibility & contrast

On white

3.57
#CD4CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#CD4CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4CEF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4CEF#FFFFFF#000000##000000
##CD4CEF1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#548CEB
Tritanopia (blue-blind)
#CC6B98
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd4cef;
/* rgb */ color: rgb(205, 76, 239);
/* oklch */ color: oklch(65.6% 0.247 318.5);
Tailwind
colors: {
  custom: {
    50: '#e088f5',
    500: '#cd4cef',
    950: '#000000',
  },
}
SCSS
$custom: #cd4cef;
$custom-light: #e088f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4cef",
  "rgb": {
    "r": 205,
    "g": 76,
    "b": 239
  },
  "hsl": {
    "h": 287.485,
    "s": 83.59,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65641,
    "c": 0.24748,
    "h": 318.5
  },
  "luminance": 0.2438
}

Semantic roles & 50–950 ramp

primary
#CD4CEF
secondary
#BAEAAD
accent
#E00533
background
#FEF8FF
surface
#FCF0FE
border
#D5CBD6
text
#160C17
muted
#847D85

Preview Lab

Preview with #CD4CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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