#CD5DF2#CD5DF2

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

Color values

HEX#CD5DF2
RGBrgb(205, 93, 242)
HSLhsl(285, 85%, 66%)
HSVhsv(285, 62%, 95%)
CMYKcmyk(15.3%, 61.6%, 0%, 5.1%)
CIE-LABlab(59.18, 65.99, -55.88)
CIE-LCHlch(59.18, 86.47, 319.74°)
OKLaboklab(67.65% 0.1667 -0.1565)
OKLCHoklch(67.65% 0.229 316.8)
XYZxyz(45.1158, 27.2203, 86.8647)
Luminance0.2722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DF2 #82F25D
analogous
#825DF2 #CD5DF2 #F25DCC
triadic
#CD5DF2 #F2CD5D #5DF2CD
tetradic
#CD5DF2 #F2825D #82F25D #5DCCF2
square
#CD5DF2 #F2825D #82F25D #5DCCF2
split-complementary
#CD5DF2 #CCF25D #5DF282
monochromatic
#9810C5 #BC24ED #CD5DF2 #DE96F7 #F0CEFB

Accessibility & contrast

On white

3.26
#CD5DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#CD5DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DF2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DF2#FFFFFF#000000##000000
##CD5DF21.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D87F7
Deuteranopia (green-blind)
#6092EE
Tritanopia (blue-blind)
#CB779F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cd5df2;
/* rgb */ color: rgb(205, 93, 242);
/* oklch */ color: oklch(67.6% 0.229 316.8);
Tailwind
colors: {
  custom: {
    50: '#e091f7',
    500: '#cd5df2',
    950: '#000000',
  },
}
SCSS
$custom: #cd5df2;
$custom-light: #e091f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5df2",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 285.101,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67647,
    "c": 0.22861,
    "h": 316.8
  },
  "luminance": 0.27219
}

Semantic roles & 50–950 ramp

primary
#CD5DF2
secondary
#C9EEBD
accent
#E2043B
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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