#CD5FE5#CD5FE5

#CD5FE5 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.2% C 0.214 H 320.1°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#CD5FE5
RGBrgb(205, 95, 229)
HSLhsl(289, 72%, 64%)
HSVhsv(289, 59%, 90%)
CMYKcmyk(10.5%, 58.5%, 0%, 10.2%)
CIE-LABlab(58.81, 62.60, -49.21)
CIE-LCHlch(58.81, 79.62, 321.83°)
OKLaboklab(67.15% 0.164 -0.137)
OKLCHoklch(67.15% 0.214 320.1)
XYZxyz(43.4102, 26.8226, 77.0042)
Luminance0.2682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FE5 #77E55F
analogous
#8A5FE5 #CD5FE5 #E55FBA
triadic
#CD5FE5 #E5CD5F #5FE5CD
tetradic
#CD5FE5 #E58A5F #77E55F #5FBAE5
square
#CD5FE5 #E58A5F #77E55F #5FBAE5
split-complementary
#CD5FE5 #BAE55F #5FE58A
monochromatic
#931CAD #BD2ADC #CD5FE5 #DD94EE #EEC8F6

Accessibility & contrast

On white

3.30
#CD5FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#CD5FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FE5
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FE5#FFFFFF#000000##000000
##CD5FE51.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4186E9
Deuteranopia (green-blind)
#6A91E2
Tritanopia (blue-blind)
#CE7499
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd5fe5;
/* rgb */ color: rgb(205, 95, 229);
/* oklch */ color: oklch(67.2% 0.214 320.1);
Tailwind
colors: {
  custom: {
    50: '#df92ee',
    500: '#cd5fe5',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fe5;
$custom-light: #df92ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fe5",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 229
  },
  "hsl": {
    "h": 289.254,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67154,
    "c": 0.21371,
    "h": 320.1
  },
  "luminance": 0.26821
}

Semantic roles & 50–950 ramp

primary
#CD5FE5
secondary
#C1E8B8
accent
#D41134
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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