#CD5CF8#CD5CF8

#CD5CF8 is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 67.9% C 0.236 H 315.4°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#CD5CF8
RGBrgb(205, 92, 248)
HSLhsl(283, 92%, 67%)
HSVhsv(283, 63%, 97%)
CMYKcmyk(17.3%, 62.9%, 0%, 2.7%)
CIE-LABlab(59.35, 67.60, -58.92)
CIE-LCHlch(59.35, 89.68, 318.92°)
OKLaboklab(67.88% 0.1678 -0.1654)
OKLCHoklch(67.88% 0.236 315.4)
XYZxyz(45.9446, 27.4123, 91.6596)
Luminance0.2741 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CF8 #87F85C
analogous
#7F5CF8 #CD5CF8 #F85CD5
triadic
#CD5CF8 #F8CD5C #5CF8CD
tetradic
#CD5CF8 #F87F5C #87F85C #5CD5F8
square
#CD5CF8 #F87F5C #87F85C #5CD5F8
split-complementary
#CD5CF8 #D5F85C #5CF87F
monochromatic
#9A09D1 #BB21F5 #CD5CF8 #DF97FB #F1D1FD

Accessibility & contrast

On white

3.24
#CD5CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#CD5CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CF8
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CF8#FFFFFF#000000##000000
##CD5CF81.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E88FD
Deuteranopia (green-blind)
#5A92F4
Tritanopia (blue-blind)
#CA79A2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cd5cf8;
/* rgb */ color: rgb(205, 92, 248);
/* oklch */ color: oklch(67.9% 0.236 315.4);
Tailwind
colors: {
  custom: {
    50: '#e091fb',
    500: '#cd5cf8',
    950: '#000000',
  },
}
SCSS
$custom: #cd5cf8;
$custom-light: #e091fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5cf8",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 248
  },
  "hsl": {
    "h": 283.462,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67883,
    "c": 0.23556,
    "h": 315.4
  },
  "luminance": 0.27411
}

Semantic roles & 50–950 ramp

primary
#CD5CF8
secondary
#CDF1BF
accent
#E6003F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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