#CD5FE8#CD5FE8

#CD5FE8 is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.3% C 0.216 H 319.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#CD5FE8
RGBrgb(205, 95, 232)
HSLhsl(288, 75%, 64%)
HSVhsv(288, 59%, 91%)
CMYKcmyk(11.6%, 59.1%, 0%, 9%)
CIE-LABlab(58.97, 63.17, -50.64)
CIE-LCHlch(58.97, 80.96, 321.28°)
OKLaboklab(67.32% 0.1641 -0.1412)
OKLCHoklch(67.32% 0.216 319.3)
XYZxyz(43.8327, 26.9916, 79.2293)
Luminance0.2699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FE8 #7AE85F
analogous
#895FE8 #CD5FE8 #E85FBF
triadic
#CD5FE8 #E8CD5F #5FE8CD
tetradic
#CD5FE8 #E8895F #7AE85F #5FBFE8
square
#CD5FE8 #E8895F #7AE85F #5FBFE8
split-complementary
#CD5FE8 #BFE85F #5FE889
monochromatic
#951AB3 #BC29E0 #CD5FE8 #DE95F0 #EECAF7

Accessibility & contrast

On white

3.28
#CD5FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#CD5FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FE8
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FE8#FFFFFF#000000##000000
##CD5FE81.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E86EC
Deuteranopia (green-blind)
#6892E4
Tritanopia (blue-blind)
#CD759B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cd5fe8;
/* rgb */ color: rgb(205, 95, 232);
/* oklch */ color: oklch(67.3% 0.216 319.3);
Tailwind
colors: {
  custom: {
    50: '#df92f0',
    500: '#cd5fe8',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fe8;
$custom-light: #df92f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fe8",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 232
  },
  "hsl": {
    "h": 288.175,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67319,
    "c": 0.21649,
    "h": 319.3
  },
  "luminance": 0.2699
}

Semantic roles & 50–950 ramp

primary
#CD5FE8
secondary
#C3E9BA
accent
#D70E36
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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