#CD5FF8#CD5FF8

#CD5FF8 is a light, highly saturated purple. Relative luminance 0.279; OKLCH L 68.2% C 0.232 H 315.2°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#CD5FF8
RGBrgb(205, 95, 248)
HSLhsl(283, 92%, 67%)
HSVhsv(283, 62%, 97%)
CMYKcmyk(17.3%, 61.7%, 0%, 2.7%)
CIE-LABlab(59.84, 66.28, -58.15)
CIE-LCHlch(59.84, 88.17, 318.74°)
OKLaboklab(68.23% 0.1644 -0.1631)
OKLCHoklch(68.23% 0.232 315.2)
XYZxyz(46.2096, 27.9424, 91.7480)
Luminance0.2794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FF8 #8AF85F
analogous
#805FF8 #CD5FF8 #F85FD7
triadic
#CD5FF8 #F8CD5F #5FF8CD
tetradic
#CD5FF8 #F8805F #8AF85F #5FD7F8
square
#CD5FF8 #F8805F #8AF85F #5FD7F8
split-complementary
#CD5FF8 #D7F85F #5FF880
monochromatic
#9B09D3 #BB24F5 #CD5FF8 #DF9AFB #F2D4FD

Accessibility & contrast

On white

3.19
#CD5FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#CD5FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FF8
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FF8#FFFFFF#000000##000000
##CD5FF81.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#288AFD
Deuteranopia (green-blind)
#5D93F4
Tritanopia (blue-blind)
#CA7BA3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cd5ff8;
/* rgb */ color: rgb(205, 95, 248);
/* oklch */ color: oklch(68.2% 0.232 315.2);
Tailwind
colors: {
  custom: {
    50: '#e092fb',
    500: '#cd5ff8',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ff8;
$custom-light: #e092fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ff8",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 248
  },
  "hsl": {
    "h": 283.137,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68232,
    "c": 0.23156,
    "h": 315.2
  },
  "luminance": 0.27941
}

Semantic roles & 50–950 ramp

primary
#CD5FF8
secondary
#CFF2C1
accent
#E60041
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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