#CD4EF2#CD4EF2

#CD4EF2 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 66.0% C 0.248 H 317.6°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#CD4EF2
RGBrgb(205, 78, 242)
HSLhsl(286, 86%, 63%)
HSVhsv(286, 68%, 95%)
CMYKcmyk(15.3%, 67.8%, 0%, 5.1%)
CIE-LABlab(56.92, 72.26, -59.49)
CIE-LCHlch(56.92, 93.60, 320.54°)
OKLaboklab(66.02% 0.183 -0.1669)
OKLCHoklch(66.02% 0.248 317.6)
XYZxyz(43.9260, 24.8406, 86.4681)
Luminance0.2484 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4EF2 #73F24E
analogous
#7B4EF2 #CD4EF2 #F24EC5
triadic
#CD4EF2 #F2CD4E #4EF2CD
tetradic
#CD4EF2 #F27B4E #73F24E #4EC5F2
square
#CD4EF2 #F27B4E #73F24E #4EC5F2
split-complementary
#CD4EF2 #C5F24E #4EF27B
monochromatic
#920EB8 #BD15EE #CD4EF2 #DD87F6 #EDC0FA

Accessibility & contrast

On white

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

On black

5.97
#CD4EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4EF2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4EF2#FFFFFF#000000##000000
##CD4EF21.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#538DEE
Tritanopia (blue-blind)
#CC6D9A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd4ef2;
/* rgb */ color: rgb(205, 78, 242);
/* oklch */ color: oklch(66.0% 0.248 317.6);
Tailwind
colors: {
  custom: {
    50: '#e089f7',
    500: '#cd4ef2',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ef2;
$custom-light: #e089f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ef2",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 242
  },
  "hsl": {
    "h": 286.463,
    "s": 86.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6602,
    "c": 0.24771,
    "h": 317.6
  },
  "luminance": 0.24839
}

Semantic roles & 50–950 ramp

primary
#CD4EF2
secondary
#BEECB0
accent
#E30335
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CD4EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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