#CD5FC9#CD5FC9

#CD5FC9 is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.7% C 0.189 H 328.9°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#CD5FC9
RGBrgb(205, 95, 201)
HSLhsl(302, 52%, 59%)
HSVhsv(302, 54%, 80%)
CMYKcmyk(0%, 53.7%, 2%, 19.6%)
CIE-LABlab(57.45, 57.52, -35.54)
CIE-LCHlch(57.45, 67.62, 328.29°)
OKLaboklab(65.71% 0.1614 -0.0975)
OKLCHoklch(65.71% 0.189 328.9)
XYZxyz(39.8112, 25.3830, 58.0495)
Luminance0.2538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FC9 #5FCD63
analogous
#9A5FCD #CD5FC9 #CD5F92
triadic
#CD5FC9 #C9CD5F #5FC9CD
tetradic
#CD5FC9 #CD9A5F #5FCD63 #5F92CD
square
#CD5FC9 #CD9A5F #5FCD63 #5F92CD
split-complementary
#CD5FC9 #92CD5F #5FCD9A
monochromatic
#872A84 #B639B1 #CD5FC9 #DC8ED9 #EABCE8

Accessibility & contrast

On white

3.46
#CD5FC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#CD5FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FC9
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FC9#FFFFFF#000000##000000
##CD5FC91.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CC
Deuteranopia (green-blind)
#798FC6
Tritanopia (blue-blind)
#D36A8B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd5fc9;
/* rgb */ color: rgb(205, 95, 201);
/* oklch */ color: oklch(65.7% 0.189 328.9);
Tailwind
colors: {
  custom: {
    50: '#df91da',
    500: '#cd5fc9',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fc9;
$custom-light: #df91da;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fc9",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 201
  },
  "hsl": {
    "h": 302.182,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65713,
    "c": 0.18857,
    "h": 328.9
  },
  "luminance": 0.25381
}

Semantic roles & 50–950 ramp

primary
#CD5FC9
secondary
#AEDAB0
accent
#DC514C
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#150D15
muted
#847E83

Preview Lab

Preview with #CD5FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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