#CD4FC2#CD4FC2

#CD4FC2 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.5% C 0.206 H 331.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#CD4FC2
RGBrgb(205, 79, 194)
HSLhsl(305, 56%, 56%)
HSVhsv(305, 61%, 80%)
CMYKcmyk(0%, 61.5%, 5.4%, 19.6%)
CIE-LABlab(54.52, 63.43, -36.11)
CIE-LCHlch(54.52, 72.99, 330.35°)
OKLaboklab(63.47% 0.1808 -0.099)
OKLCHoklch(63.47% 0.206 331.3)
XYZxyz(37.7103, 22.4689, 53.3792)
Luminance0.2247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4FC2 #4FCD5A
analogous
#994FCD #CD4FC2 #CD4F83
triadic
#CD4FC2 #C2CD4F #4FC2CD
tetradic
#CD4FC2 #CD994F #4FCD5A #4F83CD
square
#CD4FC2 #CD994F #4FCD5A #4F83CD
split-complementary
#CD4FC2 #83CD4F #4FCD99
monochromatic
#7E2476 #AE31A3 #CD4FC2 #DB7FD3 #E8AEE3

Accessibility & contrast

On white

3.82
#CD4FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#CD4FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4FC2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4FC2#FFFFFF#000000##000000
##CD4FC21.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4877C5
Deuteranopia (green-blind)
#7289BF
Tritanopia (blue-blind)
#D55B81
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd4fc2;
/* rgb */ color: rgb(205, 79, 194);
/* oklch */ color: oklch(63.5% 0.206 331.3);
Tailwind
colors: {
  custom: {
    50: '#df88d5',
    500: '#cd4fc2',
    950: '#000000',
  },
}
SCSS
$custom: #cd4fc2;
$custom-light: #df88d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4fc2",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 305.238,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63466,
    "c": 0.20614,
    "h": 331.3
  },
  "luminance": 0.22466
}

Semantic roles & 50–950 ramp

primary
#CD4FC2
secondary
#A2D6A6
accent
#DF5649
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD4FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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