#CD5FC2#CD5FC2

#CD5FC2 is a light, vivid purple. Relative luminance 0.251; OKLCH L 65.4% C 0.183 H 331.4°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#CD5FC2
RGBrgb(205, 95, 194)
HSLhsl(306, 52%, 59%)
HSVhsv(306, 54%, 80%)
CMYKcmyk(0%, 53.7%, 5.4%, 19.6%)
CIE-LABlab(57.13, 56.33, -32.03)
CIE-LCHlch(57.13, 64.80, 330.38°)
OKLaboklab(65.38% 0.1604 -0.0875)
OKLCHoklch(65.38% 0.183 331.4)
XYZxyz(39.0064, 25.0612, 53.8113)
Luminance0.2506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FC2 #5FCD6A
analogous
#A15FCD #CD5FC2 #CD5F8B
triadic
#CD5FC2 #C2CD5F #5FC2CD
tetradic
#CD5FC2 #CDA15F #5FCD6A #5F8BCD
square
#CD5FC2 #CDA15F #5FCD6A #5F8BCD
split-complementary
#CD5FC2 #8BCD5F #5FCDA1
monochromatic
#872A7E #B639A9 #CD5FC2 #DC8ED4 #EABCE6

Accessibility & contrast

On white

3.49
#CD5FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#CD5FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FC2
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FC2#FFFFFF#000000##000000
##CD5FC21.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7FC5
Deuteranopia (green-blind)
#7B8FBF
Tritanopia (blue-blind)
#D46888
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd5fc2;
/* rgb */ color: rgb(205, 95, 194);
/* oklch */ color: oklch(65.4% 0.183 331.4);
Tailwind
colors: {
  custom: {
    50: '#df91d4',
    500: '#cd5fc2',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fc2;
$custom-light: #df91d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fc2",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 306,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65382,
    "c": 0.18266,
    "h": 331.4
  },
  "luminance": 0.25059
}

Semantic roles & 50–950 ramp

primary
#CD5FC2
secondary
#AEDAB3
accent
#DC5A4C
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#150D14
muted
#847E83

Preview Lab

Preview with #CD5FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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