#CD4FEC#CD4FEC

#CD4FEC is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.8% C 0.241 H 319.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#CD4FEC
RGBrgb(205, 79, 236)
HSLhsl(288, 81%, 62%)
HSVhsv(288, 67%, 93%)
CMYKcmyk(13.1%, 66.5%, 0%, 7.5%)
CIE-LABlab(56.71, 70.75, -56.47)
CIE-LCHlch(56.71, 90.52, 321.41°)
OKLaboklab(65.76% 0.1823 -0.1581)
OKLCHoklch(65.76% 0.241 319.1)
XYZxyz(43.1112, 24.6292, 81.8237)
Luminance0.2463 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4FEC #6EEC4F
analogous
#7F4FEC #CD4FEC #EC4FBD
triadic
#CD4FEC #ECCD4F #4FECCD
tetradic
#CD4FEC #EC7F4F #6EEC4F #4FBDEC
square
#CD4FEC #EC7F4F #6EEC4F #4FBDEC
split-complementary
#CD4FEC #BDEC4F #4FEC7F
monochromatic
#8F13AE #BD19E5 #CD4FEC #DD86F2 #ECBDF8

Accessibility & contrast

On white

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

On black

5.93
#CD4FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4FEC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4FEC#FFFFFF#000000##000000
##CD4FEC1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B80F1
Deuteranopia (green-blind)
#598CE8
Tritanopia (blue-blind)
#CD6C98
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd4fec;
/* rgb */ color: rgb(205, 79, 236);
/* oklch */ color: oklch(65.8% 0.241 319.1);
Tailwind
colors: {
  custom: {
    50: '#e089f3',
    500: '#cd4fec',
    950: '#000000',
  },
}
SCSS
$custom: #cd4fec;
$custom-light: #e089f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4fec",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 236
  },
  "hsl": {
    "h": 288.153,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6576,
    "c": 0.24128,
    "h": 319.1
  },
  "luminance": 0.24627
}

Semantic roles & 50–950 ramp

primary
#CD4FEC
secondary
#BAE8AE
accent
#DD0933
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CD4FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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