#CD4FC5#CD4FC5

#CD4FC5 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.6% C 0.209 H 330.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#CD4FC5
RGBrgb(205, 79, 197)
HSLhsl(304, 56%, 56%)
HSVhsv(304, 61%, 80%)
CMYKcmyk(0%, 61.5%, 3.9%, 19.6%)
CIE-LABlab(54.66, 63.92, -37.61)
CIE-LCHlch(54.66, 74.17, 329.53°)
OKLaboklab(63.62% 0.1811 -0.1033)
OKLCHoklch(63.62% 0.209 330.3)
XYZxyz(38.0506, 22.6050, 55.1716)
Luminance0.2260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4FC5 #4FCD57
analogous
#964FCD #CD4FC5 #CD4F86
triadic
#CD4FC5 #C5CD4F #4FC5CD
tetradic
#CD4FC5 #CD964F #4FCD57 #4F86CD
square
#CD4FC5 #CD964F #4FCD57 #4F86CD
split-complementary
#CD4FC5 #86CD4F #4FCD96
monochromatic
#7E2478 #AE31A6 #CD4FC5 #DB7FD5 #E8AEE4

Accessibility & contrast

On white

3.80
#CD4FC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#CD4FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4FC5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4FC5#FFFFFF#000000##000000
##CD4FC51.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4678C9
Deuteranopia (green-blind)
#7189C2
Tritanopia (blue-blind)
#D45C83
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd4fc5;
/* rgb */ color: rgb(205, 79, 197);
/* oklch */ color: oklch(63.6% 0.209 330.3);
Tailwind
colors: {
  custom: {
    50: '#df88d7',
    500: '#cd4fc5',
    950: '#000000',
  },
}
SCSS
$custom: #cd4fc5;
$custom-light: #df88d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4fc5",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 303.81,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63616,
    "c": 0.20852,
    "h": 330.3
  },
  "luminance": 0.22602
}

Semantic roles & 50–950 ramp

primary
#CD4FC5
secondary
#A2D6A5
accent
#DF5249
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD4FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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