#CF4DC7#CF4DC7

#CF4DC7 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.8% C 0.214 H 330.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#CF4DC7
RGBrgb(207, 77, 199)
HSLhsl(304, 58%, 56%)
HSVhsv(304, 63%, 81%)
CMYKcmyk(0%, 62.8%, 3.9%, 18.8%)
CIE-LABlab(54.76, 65.57, -38.59)
CIE-LCHlch(54.76, 76.08, 329.52°)
OKLaboklab(63.78% 0.1858 -0.1061)
OKLCHoklch(63.78% 0.214 330.3)
XYZxyz(38.6946, 22.6994, 56.3652)
Luminance0.2270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4DC7 #4DCF55
analogous
#964DCF #CF4DC7 #CF4D86
triadic
#CF4DC7 #C7CF4D #4DC7CF
tetradic
#CF4DC7 #CF964D #4DCF55 #4D86CF
square
#CF4DC7 #CF964D #4DCF55 #4D86CF
split-complementary
#CF4DC7 #86CF4D #4DCF96
monochromatic
#7F227A #AF2FA8 #CF4DC7 #DC7DD6 #E9ADE5

Accessibility & contrast

On white

3.79
#CF4DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#CF4DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4DC7
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4DC7#FFFFFF#000000##000000
##CF4DC71.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4378CB
Deuteranopia (green-blind)
#7089C4
Tritanopia (blue-blind)
#D65B83
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf4dc7;
/* rgb */ color: rgb(207, 77, 199);
/* oklch */ color: oklch(63.8% 0.214 330.3);
Tailwind
colors: {
  custom: {
    50: '#e187d8',
    500: '#cf4dc7',
    950: '#000000',
  },
}
SCSS
$custom: #cf4dc7;
$custom-light: #e187d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4dc7",
  "rgb": {
    "r": 207,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 303.692,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63778,
    "c": 0.21394,
    "h": 330.3
  },
  "luminance": 0.22697
}

Semantic roles & 50–950 ramp

primary
#CF4DC7
secondary
#A1D7A4
accent
#E15047
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CF4DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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