#CD5FF1#CD5FF1

#CD5FF1 is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 67.8% C 0.225 H 316.9°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#CD5FF1
RGBrgb(205, 95, 241)
HSLhsl(285, 84%, 66%)
HSVhsv(285, 61%, 95%)
CMYKcmyk(14.9%, 60.6%, 0%, 5.5%)
CIE-LABlab(59.45, 64.90, -54.89)
CIE-LCHlch(59.45, 85.00, 319.78°)
OKLaboklab(67.83% 0.1643 -0.1536)
OKLCHoklch(67.83% 0.225 316.9)
XYZxyz(45.1439, 27.5161, 86.1352)
Luminance0.2751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FF1 #83F15F
analogous
#845FF1 #CD5FF1 #F15FCC
triadic
#CD5FF1 #F1CD5F #5FF1CD
tetradic
#CD5FF1 #F1845F #83F15F #5FCCF1
square
#CD5FF1 #F1845F #83F15F #5FCCF1
split-complementary
#CD5FF1 #CCF15F #5FF184
monochromatic
#9811C4 #BB27EC #CD5FF1 #DF97F6 #F0D0FB

Accessibility & contrast

On white

3.23
#CD5FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#CD5FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FF1
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FF1#FFFFFF#000000##000000
##CD5FF11.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3388F6
Deuteranopia (green-blind)
#6293ED
Tritanopia (blue-blind)
#CB78A0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cd5ff1;
/* rgb */ color: rgb(205, 95, 241);
/* oklch */ color: oklch(67.8% 0.225 316.9);
Tailwind
colors: {
  custom: {
    50: '#e092f6',
    500: '#cd5ff1',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ff1;
$custom-light: #e092f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ff1",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 285.205,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67826,
    "c": 0.22493,
    "h": 316.9
  },
  "luminance": 0.27514
}

Semantic roles & 50–950 ramp

primary
#CD5FF1
secondary
#CAEEBE
accent
#E0053B
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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