#CD5EFB#CD5EFB

#CD5EFB is a light, highly saturated purple. Relative luminance 0.280; OKLCH L 68.3% C 0.236 H 314.6°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#CD5EFB
RGBrgb(205, 94, 251)
HSLhsl(282, 95%, 68%)
HSVhsv(282, 63%, 98%)
CMYKcmyk(18.3%, 62.5%, 0%, 1.6%)
CIE-LABlab(59.84, 67.32, -59.80)
CIE-LCHlch(59.84, 90.04, 318.38°)
OKLaboklab(68.29% 0.1654 -0.1679)
OKLCHoklch(68.29% 0.236 314.6)
XYZxyz(46.5893, 27.9511, 94.1890)
Luminance0.2795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5EFB #8CFB5E
analogous
#7E5EFB #CD5EFB #FB5EDB
triadic
#CD5EFB #FBCD5E #5EFBCD
tetradic
#CD5EFB #FB7E5E #8CFB5E #5EDBFB
square
#CD5EFB #FB7E5E #8CFB5E #5EDBFB
split-complementary
#CD5EFB #DBFB5E #5EFB7E
monochromatic
#9B05D9 #BA22FA #CD5EFB #E09AFC #F2D5FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD5EFB#FFFFFF#000000##000000
##CD5EFB1.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)
#1E8AFF
Deuteranopia (green-blind)
#5993F7
Tritanopia (blue-blind)
#C97BA4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cd5efb;
/* rgb */ color: rgb(205, 94, 251);
/* oklch */ color: oklch(68.3% 0.236 314.6);
Tailwind
colors: {
  custom: {
    50: '#e092fd',
    500: '#cd5efb',
    950: '#000000',
  },
}
SCSS
$custom: #cd5efb;
$custom-light: #e092fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5efb",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 251
  },
  "hsl": {
    "h": 282.42,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68292,
    "c": 0.23574,
    "h": 314.6
  },
  "luminance": 0.2795
}

Semantic roles & 50–950 ramp

primary
#CD5EFB
secondary
#D0F3C2
accent
#E60043
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CD5EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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