#CD5DF4#CD5DF4

#CD5DF4 is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.8% C 0.230 H 316.3°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#CD5DF4
RGBrgb(205, 93, 244)
HSLhsl(285, 87%, 66%)
HSVhsv(285, 62%, 96%)
CMYKcmyk(16%, 61.9%, 0%, 4.3%)
CIE-LABlab(59.29, 66.38, -56.81)
CIE-LCHlch(59.29, 87.37, 319.44°)
OKLaboklab(67.76% 0.1667 -0.1592)
OKLCHoklch(67.76% 0.23 316.3)
XYZxyz(45.4178, 27.3412, 88.4553)
Luminance0.2734 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DF4 #84F45D
analogous
#815DF4 #CD5DF4 #F45DD0
triadic
#CD5DF4 #F4CD5D #5DF4CD
tetradic
#CD5DF4 #F4815D #84F45D #5DD0F4
square
#CD5DF4 #F4815D #84F45D #5DD0F4
split-complementary
#CD5DF4 #D0F45D #5DF481
monochromatic
#990EC9 #BB24F0 #CD5DF4 #DF96F8 #F0D0FC

Accessibility & contrast

On white

3.25
#CD5DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#CD5DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DF4
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DF4#FFFFFF#000000##000000
##CD5DF41.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A88F9
Deuteranopia (green-blind)
#5E92F0
Tritanopia (blue-blind)
#CB78A0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cd5df4;
/* rgb */ color: rgb(205, 93, 244);
/* oklch */ color: oklch(67.8% 0.230 316.3);
Tailwind
colors: {
  custom: {
    50: '#e091f8',
    500: '#cd5df4',
    950: '#000000',
  },
}
SCSS
$custom: #cd5df4;
$custom-light: #e091f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5df4",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 284.503,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67763,
    "c": 0.23048,
    "h": 316.3
  },
  "luminance": 0.27339
}

Semantic roles & 50–950 ramp

primary
#CD5DF4
secondary
#CAEFBE
accent
#E4023C
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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