#CD5FE1#CD5FE1

#CD5FE1 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 66.9% C 0.210 H 321.2°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#CD5FE1
RGBrgb(205, 95, 225)
HSLhsl(291, 68%, 63%)
HSVhsv(291, 58%, 88%)
CMYKcmyk(8.9%, 57.8%, 0%, 11.8%)
CIE-LABlab(58.60, 61.85, -47.29)
CIE-LCHlch(58.60, 77.85, 322.60°)
OKLaboklab(66.94% 0.1638 -0.1315)
OKLCHoklch(66.94% 0.21 321.2)
XYZxyz(42.8581, 26.6018, 74.0967)
Luminance0.2660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FE1 #73E15F
analogous
#8C5FE1 #CD5FE1 #E15FB4
triadic
#CD5FE1 #E1CD5F #5FE1CD
tetradic
#CD5FE1 #E18C5F #73E15F #5FB4E1
square
#CD5FE1 #E18C5F #73E15F #5FB4E1
split-complementary
#CD5FE1 #B4E15F #5FE18C
monochromatic
#921FA6 #BD2BD7 #CD5FE1 #DD93EB #EDC6F4

Accessibility & contrast

On white

3.32
#CD5FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#CD5FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FE1
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FE1#FFFFFF#000000##000000
##CD5FE11.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4585E5
Deuteranopia (green-blind)
#6C91DE
Tritanopia (blue-blind)
#CF7297
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd5fe1;
/* rgb */ color: rgb(205, 95, 225);
/* oklch */ color: oklch(66.9% 0.210 321.2);
Tailwind
colors: {
  custom: {
    50: '#df92eb',
    500: '#cd5fe1',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fe1;
$custom-light: #df92eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fe1",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 225
  },
  "hsl": {
    "h": 290.769,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66938,
    "c": 0.21001,
    "h": 321.2
  },
  "luminance": 0.266
}

Semantic roles & 50–950 ramp

primary
#CD5FE1
secondary
#BEE5B6
accent
#D01532
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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