#CD5BF8#CD5BF8

#CD5BF8 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.8% C 0.237 H 315.5°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#CD5BF8
RGBrgb(205, 91, 248)
HSLhsl(284, 92%, 66%)
HSVhsv(284, 63%, 97%)
CMYKcmyk(17.3%, 63.3%, 0%, 2.7%)
CIE-LABlab(59.20, 68.04, -59.18)
CIE-LCHlch(59.20, 90.17, 318.99°)
OKLaboklab(67.77% 0.1689 -0.1661)
OKLCHoklch(67.77% 0.237 315.5)
XYZxyz(45.8585, 27.2402, 91.6310)
Luminance0.2724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5BF8 #86F85B
analogous
#7F5BF8 #CD5BF8 #F85BD5
triadic
#CD5BF8 #F8CD5B #5BF8CD
tetradic
#CD5BF8 #F87F5B #86F85B #5BD5F8
square
#CD5BF8 #F87F5B #86F85B #5BD5F8
split-complementary
#CD5BF8 #D5F85B #5BF87F
monochromatic
#9909D0 #BB20F5 #CD5BF8 #DF96FB #F1D0FD

Accessibility & contrast

On white

3.26
#CD5BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#CD5BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5BF8
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5BF8#FFFFFF#000000##000000
##CD5BF81.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B88FD
Deuteranopia (green-blind)
#5992F4
Tritanopia (blue-blind)
#CA78A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cd5bf8;
/* rgb */ color: rgb(205, 91, 248);
/* oklch */ color: oklch(67.8% 0.237 315.5);
Tailwind
colors: {
  custom: {
    50: '#e090fb',
    500: '#cd5bf8',
    950: '#000000',
  },
}
SCSS
$custom: #cd5bf8;
$custom-light: #e090fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5bf8",
  "rgb": {
    "r": 205,
    "g": 91,
    "b": 248
  },
  "hsl": {
    "h": 283.567,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67769,
    "c": 0.23687,
    "h": 315.5
  },
  "luminance": 0.27239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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