#CD5DF1#CD5DF1

#CD5DF1 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.6% C 0.228 H 317.1°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#CD5DF1
RGBrgb(205, 93, 241)
HSLhsl(285, 84%, 65%)
HSVhsv(285, 61%, 95%)
CMYKcmyk(14.9%, 61.4%, 0%, 5.5%)
CIE-LABlab(59.12, 65.80, -55.41)
CIE-LCHlch(59.12, 86.02, 319.90°)
OKLaboklab(67.59% 0.1667 -0.1551)
OKLCHoklch(67.59% 0.228 317.1)
XYZxyz(44.9661, 27.1604, 86.0759)
Luminance0.2716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DF1 #81F15D
analogous
#835DF1 #CD5DF1 #F15DCB
triadic
#CD5DF1 #F1CD5D #5DF1CD
tetradic
#CD5DF1 #F1835D #81F15D #5DCBF1
square
#CD5DF1 #F1835D #81F15D #5DCBF1
split-complementary
#CD5DF1 #CBF15D #5DF183
monochromatic
#9711C3 #BC25EC #CD5DF1 #DE95F6 #F0CEFB

Accessibility & contrast

On white

3.27
#CD5DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#CD5DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DF1
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DF1#FFFFFF#000000##000000
##CD5DF11.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F87F6
Deuteranopia (green-blind)
#6092ED
Tritanopia (blue-blind)
#CC779F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cd5df1;
/* rgb */ color: rgb(205, 93, 241);
/* oklch */ color: oklch(67.6% 0.228 317.1);
Tailwind
colors: {
  custom: {
    50: '#e091f6',
    500: '#cd5df1',
    950: '#000000',
  },
}
SCSS
$custom: #cd5df1;
$custom-light: #e091f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5df1",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 241
  },
  "hsl": {
    "h": 285.405,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67589,
    "c": 0.22767,
    "h": 317.1
  },
  "luminance": 0.27159
}

Semantic roles & 50–950 ramp

primary
#CD5DF1
secondary
#C8EEBC
accent
#E1053A
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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