#CF56C2#CF56C2

#CF56C2 is a light, vivid purple. Relative luminance 0.238; OKLCH L 64.5% C 0.197 H 332.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#CF56C2
RGBrgb(207, 86, 194)
HSLhsl(306, 56%, 57%)
HSVhsv(306, 58%, 81%)
CMYKcmyk(0%, 58.5%, 6.3%, 18.8%)
CIE-LABlab(55.91, 60.96, -33.93)
CIE-LCHlch(55.91, 69.77, 330.90°)
OKLaboklab(64.54% 0.1743 -0.0928)
OKLCHoklch(64.54% 0.197 332)
XYZxyz(38.7974, 23.8188, 53.5825)
Luminance0.2382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56C2 #56CF63
analogous
#9F56CF #CF56C2 #CF5686
triadic
#CF56C2 #C2CF56 #56C2CF
tetradic
#CF56C2 #CF9F56 #56CF63 #5686CF
square
#CF56C2 #CF9F56 #56CF63 #5686CF
split-complementary
#CF56C2 #86CF56 #56CF9F
monochromatic
#85267B #B533A7 #CF56C2 #DD86D3 #EAB5E4

Accessibility & contrast

On white

3.64
#CF56C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#CF56C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56C2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56C2#FFFFFF#000000##000000
##CF56C21.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#517BC5
Deuteranopia (green-blind)
#788CBF
Tritanopia (blue-blind)
#D76084
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf56c2;
/* rgb */ color: rgb(207, 86, 194);
/* oklch */ color: oklch(64.5% 0.197 332.0);
Tailwind
colors: {
  custom: {
    50: '#e18cd5',
    500: '#cf56c2',
    950: '#000000',
  },
}
SCSS
$custom: #cf56c2;
$custom-light: #e18cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56c2",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 194
  },
  "hsl": {
    "h": 306.446,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64537,
    "c": 0.19746,
    "h": 332
  },
  "luminance": 0.23816
}

Semantic roles & 50–950 ramp

primary
#CF56C2
secondary
#A8D9AD
accent
#DF5949
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160D14
muted
#847D83

Preview Lab

Preview with #CF56C2

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

Preview Lab → · Contrast checker → · Palette generator →

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