#CD5FC4#CD5FC4

#CD5FC4 is a light, vivid purple. Relative luminance 0.251; OKLCH L 65.5% C 0.184 H 330.6°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#CD5FC4
RGBrgb(205, 95, 196)
HSLhsl(305, 52%, 59%)
HSVhsv(305, 54%, 80%)
CMYKcmyk(0%, 53.7%, 4.4%, 19.6%)
CIE-LABlab(57.22, 56.67, -33.04)
CIE-LCHlch(57.22, 65.59, 329.76°)
OKLaboklab(65.48% 0.1607 -0.0903)
OKLCHoklch(65.48% 0.184 330.6)
XYZxyz(39.2326, 25.1516, 55.0022)
Luminance0.2515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FC4 #5FCD68
analogous
#9F5FCD #CD5FC4 #CD5F8D
triadic
#CD5FC4 #C4CD5F #5FC4CD
tetradic
#CD5FC4 #CD9F5F #5FCD68 #5F8DCD
square
#CD5FC4 #CD9F5F #5FCD68 #5F8DCD
split-complementary
#CD5FC4 #8DCD5F #5FCD9F
monochromatic
#872A80 #B639AC #CD5FC4 #DC8ED5 #EABCE6

Accessibility & contrast

On white

3.48
#CD5FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#CD5FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FC4
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FC4#FFFFFF#000000##000000
##CD5FC41.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5980C7
Deuteranopia (green-blind)
#7B8FC1
Tritanopia (blue-blind)
#D46989
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd5fc4;
/* rgb */ color: rgb(205, 95, 196);
/* oklch */ color: oklch(65.5% 0.184 330.6);
Tailwind
colors: {
  custom: {
    50: '#df91d6',
    500: '#cd5fc4',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fc4;
$custom-light: #df91d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fc4",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 196
  },
  "hsl": {
    "h": 304.909,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65475,
    "c": 0.18432,
    "h": 330.6
  },
  "luminance": 0.25149
}

Semantic roles & 50–950 ramp

primary
#CD5FC4
secondary
#AEDAB2
accent
#DC584C
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#150D14
muted
#847E83

Preview Lab

Preview with #CD5FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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