#CD5DF5#CD5DF5

#CD5DF5 is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 67.8% C 0.231 H 316.1°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#CD5DF5
RGBrgb(205, 93, 245)
HSLhsl(284, 88%, 66%)
HSVhsv(284, 62%, 96%)
CMYKcmyk(16.3%, 62%, 0%, 3.9%)
CIE-LABlab(59.34, 66.58, -57.27)
CIE-LCHlch(59.34, 87.82, 319.29°)
OKLaboklab(67.82% 0.1667 -0.1605)
OKLCHoklch(67.82% 0.231 316.1)
XYZxyz(45.5701, 27.4021, 89.2572)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DF5 #85F55D
analogous
#815DF5 #CD5DF5 #F55DD1
triadic
#CD5DF5 #F5CD5D #5DF5CD
tetradic
#CD5DF5 #F5815D #85F55D #5DD1F5
square
#CD5DF5 #F5815D #85F55D #5DD1F5
split-complementary
#CD5DF5 #D1F55D #5DF581
monochromatic
#990DCB #BB23F1 #CD5DF5 #DF97F9 #F1D0FC

Accessibility & contrast

On white

3.24
#CD5DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#CD5DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DF5
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DF5#FFFFFF#000000##000000
##CD5DF51.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2888FA
Deuteranopia (green-blind)
#5D92F1
Tritanopia (blue-blind)
#CB78A1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cd5df5;
/* rgb */ color: rgb(205, 93, 245);
/* oklch */ color: oklch(67.8% 0.231 316.1);
Tailwind
colors: {
  custom: {
    50: '#e091f9',
    500: '#cd5df5',
    950: '#000000',
  },
}
SCSS
$custom: #cd5df5;
$custom-light: #e091f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5df5",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 245
  },
  "hsl": {
    "h": 284.211,
    "s": 88.372,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67822,
    "c": 0.23142,
    "h": 316.1
  },
  "luminance": 0.274
}

Semantic roles & 50–950 ramp

primary
#CD5DF5
secondary
#CBF0BE
accent
#E5013D
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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