#CD5EFE#CD5EFE

#CD5EFE is a light, highly saturated purple. Relative luminance 0.281; OKLCH L 68.5% C 0.239 H 313.9°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#CD5EFE
RGBrgb(205, 94, 254)
HSLhsl(282, 99%, 68%)
HSVhsv(282, 63%, 100%)
CMYKcmyk(19.3%, 63%, 0%, 0.4%)
CIE-LABlab(60.02, 67.91, -61.18)
CIE-LCHlch(60.02, 91.41, 317.99°)
OKLaboklab(68.47% 0.1654 -0.172)
OKLCHoklch(68.47% 0.239 313.9)
XYZxyz(47.0659, 28.1417, 96.6993)
Luminance0.2814 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5EFE #8FFE5E
analogous
#7D5EFE #CD5EFE #FE5EDF
triadic
#CD5EFE #FECD5E #5EFECD
tetradic
#CD5EFE #FE7D5E #8FFE5E #5EDFFE
square
#CD5EFE #FE7D5E #8FFE5E #5EDFFE
split-complementary
#CD5EFE #DFFE5E #5EFE7D
monochromatic
#9C01E0 #BA21FE #CD5EFE #E09BFE #F3D8FF

Accessibility & contrast

On white

3.17
#CD5EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#CD5EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5EFE
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5EFE#FFFFFF#000000##000000
##CD5EFE1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#158BFF
Deuteranopia (green-blind)
#5793FA
Tritanopia (blue-blind)
#C87CA6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cd5efe;
/* rgb */ color: rgb(205, 94, 254);
/* oklch */ color: oklch(68.5% 0.239 313.9);
Tailwind
colors: {
  custom: {
    50: '#e092ff',
    500: '#cd5efe',
    950: '#000000',
  },
}
SCSS
$custom: #cd5efe;
$custom-light: #e092ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5efe",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 254
  },
  "hsl": {
    "h": 281.625,
    "s": 98.765,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68472,
    "c": 0.23858,
    "h": 313.9
  },
  "luminance": 0.2814
}

Semantic roles & 50–950 ramp

primary
#CD5EFE
secondary
#D2F4C4
accent
#E60046
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CD5EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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