#CD5BF1#CD5BF1

#CD5BF1 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.4% C 0.230 H 317.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#CD5BF1
RGBrgb(205, 91, 241)
HSLhsl(286, 84%, 65%)
HSVhsv(286, 62%, 95%)
CMYKcmyk(14.9%, 62.2%, 0%, 5.5%)
CIE-LABlab(58.80, 66.68, -55.92)
CIE-LCHlch(58.80, 87.02, 320.02°)
OKLaboklab(67.36% 0.169 -0.1566)
OKLCHoklch(67.36% 0.23 317.2)
XYZxyz(44.7928, 26.8139, 86.0181)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5BF1 #7FF15B
analogous
#825BF1 #CD5BF1 #F15BCA
triadic
#CD5BF1 #F1CD5B #5BF1CD
tetradic
#CD5BF1 #F1825B #7FF15B #5BCAF1
square
#CD5BF1 #F1825B #7FF15B #5BCAF1
split-complementary
#CD5BF1 #CAF15B #5BF182
monochromatic
#9710C1 #BC23EC #CD5BF1 #DE93F6 #EFCCFB

Accessibility & contrast

On white

3.30
#CD5BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#CD5BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5BF1
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5BF1#FFFFFF#000000##000000
##CD5BF11.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A86F6
Deuteranopia (green-blind)
#5F91ED
Tritanopia (blue-blind)
#CC759E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd5bf1;
/* rgb */ color: rgb(205, 91, 241);
/* oklch */ color: oklch(67.4% 0.230 317.2);
Tailwind
colors: {
  custom: {
    50: '#e090f6',
    500: '#cd5bf1',
    950: '#000000',
  },
}
SCSS
$custom: #cd5bf1;
$custom-light: #e090f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5bf1",
  "rgb": {
    "r": 205,
    "g": 91,
    "b": 241
  },
  "hsl": {
    "h": 285.6,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67357,
    "c": 0.23037,
    "h": 317.2
  },
  "luminance": 0.26812
}

Semantic roles & 50–950 ramp

primary
#CD5BF1
secondary
#C7EDBA
accent
#E1053A
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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