#CD5FC5#CD5FC5

#CD5FC5 is a light, vivid purple. Relative luminance 0.252; OKLCH L 65.5% C 0.185 H 330.3°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#CD5FC5
RGBrgb(205, 95, 197)
HSLhsl(304, 52%, 59%)
HSVhsv(304, 54%, 80%)
CMYKcmyk(0%, 53.7%, 3.9%, 19.6%)
CIE-LABlab(57.27, 56.84, -33.54)
CIE-LCHlch(57.27, 65.99, 329.46°)
OKLaboklab(65.52% 0.1608 -0.0918)
OKLCHoklch(65.52% 0.185 330.3)
XYZxyz(39.3468, 25.1973, 55.6036)
Luminance0.2520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FC5 #5FCD67
analogous
#9E5FCD #CD5FC5 #CD5F8E
triadic
#CD5FC5 #C5CD5F #5FC5CD
tetradic
#CD5FC5 #CD9E5F #5FCD67 #5F8ECD
square
#CD5FC5 #CD9E5F #5FCD67 #5F8ECD
split-complementary
#CD5FC5 #8ECD5F #5FCD9E
monochromatic
#872A81 #B639AD #CD5FC5 #DC8ED6 #EABCE7

Accessibility & contrast

On white

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

On black

6.04
#CD5FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FC5
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FC5#FFFFFF#000000##000000
##CD5FC51.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd5fc5;
/* rgb */ color: rgb(205, 95, 197);
/* oklch */ color: oklch(65.5% 0.185 330.3);
Tailwind
colors: {
  custom: {
    50: '#df91d7',
    500: '#cd5fc5',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fc5;
$custom-light: #df91d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fc5",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 197
  },
  "hsl": {
    "h": 304.364,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65522,
    "c": 0.18517,
    "h": 330.3
  },
  "luminance": 0.25195
}

Semantic roles & 50–950 ramp

primary
#CD5FC5
secondary
#AEDAB1
accent
#DC564C
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#150D14
muted
#847E83

Preview Lab

Preview with #CD5FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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