#CD5EF4#CD5EF4

#CD5EF4 is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 67.9% C 0.229 H 316.3°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#CD5EF4
RGBrgb(205, 94, 244)
HSLhsl(284, 87%, 66%)
HSVhsv(284, 61%, 96%)
CMYKcmyk(16%, 61.5%, 0%, 4.3%)
CIE-LABlab(59.45, 65.94, -56.55)
CIE-LCHlch(59.45, 86.86, 319.38°)
OKLaboklab(67.88% 0.1655 -0.1584)
OKLCHoklch(67.88% 0.229 316.3)
XYZxyz(45.5062, 27.5179, 88.4848)
Luminance0.2752 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5EF4 #85F45E
analogous
#825EF4 #CD5EF4 #F45ED0
triadic
#CD5EF4 #F4CD5E #5EF4CD
tetradic
#CD5EF4 #F4825E #85F45E #5ED0F4
square
#CD5EF4 #F4825E #85F45E #5ED0F4
split-complementary
#CD5EF4 #D0F45E #5EF482
monochromatic
#990ECA #BB25F0 #CD5EF4 #DF97F8 #F1D1FC

Accessibility & contrast

On white

3.23
#CD5EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#CD5EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5EF4
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5EF4#FFFFFF#000000##000000
##CD5EF41.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C88F9
Deuteranopia (green-blind)
#5F92F0
Tritanopia (blue-blind)
#CB79A1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cd5ef4;
/* rgb */ color: rgb(205, 94, 244);
/* oklch */ color: oklch(67.9% 0.229 316.3);
Tailwind
colors: {
  custom: {
    50: '#e092f8',
    500: '#cd5ef4',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ef4;
$custom-light: #e092f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ef4",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 244
  },
  "hsl": {
    "h": 284.4,
    "s": 87.209,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6788,
    "c": 0.22913,
    "h": 316.3
  },
  "luminance": 0.27516
}

Semantic roles & 50–950 ramp

primary
#CD5EF4
secondary
#CBEFBE
accent
#E4023D
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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