#CD4EF7#CD4EF7

#CD4EF7 is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.3% C 0.252 H 316.4°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#CD4EF7
RGBrgb(205, 78, 247)
HSLhsl(285, 91%, 64%)
HSVhsv(285, 68%, 97%)
CMYKcmyk(17%, 68.4%, 0%, 3.1%)
CIE-LABlab(57.22, 73.20, -61.79)
CIE-LCHlch(57.22, 95.80, 319.83°)
OKLaboklab(66.33% 0.1827 -0.1737)
OKLCHoklch(66.33% 0.252 316.4)
XYZxyz(44.6872, 25.1451, 90.4772)
Luminance0.2514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4EF7 #78F74E
analogous
#784EF7 #CD4EF7 #F74ECC
triadic
#CD4EF7 #F7CD4E #4EF7CD
tetradic
#CD4EF7 #F7784E #78F74E #4ECCF7
square
#CD4EF7 #F7784E #78F74E #4ECCF7
split-complementary
#CD4EF7 #CCF74E #4EF778
monochromatic
#9409C2 #BC13F4 #CD4EF7 #DE89FA #EEC3FC

Accessibility & contrast

On white

3.48
#CD4EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#CD4EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4EF7
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4EF7#FFFFFF#000000##000000
##CD4EF71.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FC
Deuteranopia (green-blind)
#4F8DF3
Tritanopia (blue-blind)
#CB6F9D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd4ef7;
/* rgb */ color: rgb(205, 78, 247);
/* oklch */ color: oklch(66.3% 0.252 316.4);
Tailwind
colors: {
  custom: {
    50: '#e089fb',
    500: '#cd4ef7',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ef7;
$custom-light: #e089fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ef7",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 247
  },
  "hsl": {
    "h": 285.089,
    "s": 91.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66328,
    "c": 0.25208,
    "h": 316.4
  },
  "luminance": 0.25143
}

Semantic roles & 50–950 ramp

primary
#CD4EF7
secondary
#C1EEB3
accent
#E60039
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CD4EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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