#CD5FFB#CD5FFB

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

Color values

HEX#CD5FFB
RGBrgb(205, 95, 251)
HSLhsl(282, 95%, 68%)
HSVhsv(282, 62%, 98%)
CMYKcmyk(18.3%, 62.2%, 0%, 1.6%)
CIE-LABlab(60.01, 66.87, -59.54)
CIE-LCHlch(60.01, 89.54, 318.32°)
OKLaboklab(68.41% 0.1643 -0.1672)
OKLCHoklch(68.41% 0.234 314.5)
XYZxyz(46.6788, 28.1301, 94.2188)
Luminance0.2813 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FFB #8DFB5F
analogous
#7F5FFB #CD5FFB #FB5FDB
triadic
#CD5FFB #FBCD5F #5FFBCD
tetradic
#CD5FFB #FB7F5F #8DFB5F #5FDBFB
square
#CD5FFB #FB7F5F #8DFB5F #5FDBFB
split-complementary
#CD5FFB #DBFB5F #5FFB7F
monochromatic
#9B05DA #BA23FA #CD5FFB #E09BFC #F2D6FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD5FFB#FFFFFF#000000##000000
##CD5FFB1.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)
#228AFF
Deuteranopia (green-blind)
#5A93F7
Tritanopia (blue-blind)
#C97CA5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cd5ffb;
/* rgb */ color: rgb(205, 95, 251);
/* oklch */ color: oklch(68.4% 0.234 314.5);
Tailwind
colors: {
  custom: {
    50: '#e093fd',
    500: '#cd5ffb',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ffb;
$custom-light: #e093fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ffb",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 251
  },
  "hsl": {
    "h": 282.308,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68409,
    "c": 0.23441,
    "h": 314.5
  },
  "luminance": 0.28129
}

Semantic roles & 50–950 ramp

primary
#CD5FFB
secondary
#D1F3C3
accent
#E60044
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CD5FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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