#CD5FC8#CD5FC8

#CD5FC8 is a light, vivid purple. Relative luminance 0.253; OKLCH L 65.7% C 0.188 H 329.2°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#CD5FC8
RGBrgb(205, 95, 200)
HSLhsl(303, 52%, 59%)
HSVhsv(303, 54%, 80%)
CMYKcmyk(0%, 53.7%, 2.4%, 19.6%)
CIE-LABlab(57.40, 57.35, -35.04)
CIE-LCHlch(57.40, 67.21, 328.58°)
OKLaboklab(65.66% 0.1613 -0.0961)
OKLCHoklch(65.66% 0.188 329.2)
XYZxyz(39.6939, 25.3361, 57.4320)
Luminance0.2533 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FC8 #5FCD64
analogous
#9B5FCD #CD5FC8 #CD5F91
triadic
#CD5FC8 #C8CD5F #5FC8CD
tetradic
#CD5FC8 #CD9B5F #5FCD64 #5F91CD
square
#CD5FC8 #CD9B5F #5FCD64 #5F91CD
split-complementary
#CD5FC8 #91CD5F #5FCD9B
monochromatic
#872A83 #B639B0 #CD5FC8 #DC8ED8 #EABCE8

Accessibility & contrast

On white

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

On black

6.07
#CD5FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FC8
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FC8#FFFFFF#000000##000000
##CD5FC81.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780CB
Deuteranopia (green-blind)
#798FC5
Tritanopia (blue-blind)
#D36A8B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd5fc8;
/* rgb */ color: rgb(205, 95, 200);
/* oklch */ color: oklch(65.7% 0.188 329.2);
Tailwind
colors: {
  custom: {
    50: '#df91d9',
    500: '#cd5fc8',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fc8;
$custom-light: #df91d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fc8",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 200
  },
  "hsl": {
    "h": 302.727,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65665,
    "c": 0.18772,
    "h": 329.2
  },
  "luminance": 0.25334
}

Semantic roles & 50–950 ramp

primary
#CD5FC8
secondary
#AEDAB0
accent
#DC534C
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#150D14
muted
#847E83

Preview Lab

Preview with #CD5FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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