#CF56C4#CF56C4

#CF56C4 is a light, vivid purple. Relative luminance 0.239; OKLCH L 64.6% C 0.199 H 331.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#CF56C4
RGBrgb(207, 86, 196)
HSLhsl(305, 56%, 57%)
HSVhsv(305, 58%, 81%)
CMYKcmyk(0%, 58.5%, 5.3%, 18.8%)
CIE-LABlab(56.00, 61.29, -34.93)
CIE-LCHlch(56.00, 70.54, 330.32°)
OKLaboklab(64.63% 0.1746 -0.0956)
OKLCHoklch(64.63% 0.199 331.3)
XYZxyz(39.0236, 23.9092, 54.7734)
Luminance0.2391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56C4 #56CF61
analogous
#9E56CF #CF56C4 #CF5687
triadic
#CF56C4 #C4CF56 #56C4CF
tetradic
#CF56C4 #CF9E56 #56CF61 #5687CF
square
#CF56C4 #CF9E56 #56CF61 #5687CF
split-complementary
#CF56C4 #87CF56 #56CF9E
monochromatic
#85267C #B533A9 #CF56C4 #DD86D5 #EAB5E5

Accessibility & contrast

On white

3.63
#CF56C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#CF56C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56C4
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56C4#FFFFFF#000000##000000
##CF56C41.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#507BC7
Deuteranopia (green-blind)
#778CC1
Tritanopia (blue-blind)
#D76185
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf56c4;
/* rgb */ color: rgb(207, 86, 196);
/* oklch */ color: oklch(64.6% 0.199 331.3);
Tailwind
colors: {
  custom: {
    50: '#e18cd6',
    500: '#cf56c4',
    950: '#000000',
  },
}
SCSS
$custom: #cf56c4;
$custom-light: #e18cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56c4",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 196
  },
  "hsl": {
    "h": 305.455,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64633,
    "c": 0.19906,
    "h": 331.3
  },
  "luminance": 0.23906
}

Semantic roles & 50–950 ramp

primary
#CF56C4
secondary
#A8D9AC
accent
#DF5649
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160D14
muted
#847D83

Preview Lab

Preview with #CF56C4

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

Preview Lab → · Contrast checker → · Palette generator →

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