#CF56BC#CF56BC

#CF56BC is a light, vivid purple. Relative luminance 0.236; OKLCH L 64.3% C 0.193 H 334.1°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#CF56BC
RGBrgb(207, 86, 188)
HSLhsl(309, 56%, 57%)
HSVhsv(309, 58%, 81%)
CMYKcmyk(0%, 58.5%, 9.2%, 18.8%)
CIE-LABlab(55.64, 60.00, -30.89)
CIE-LCHlch(55.64, 67.48, 332.76°)
OKLaboklab(64.25% 0.1734 -0.0841)
OKLCHoklch(64.25% 0.193 334.1)
XYZxyz(38.1372, 23.5547, 50.1051)
Luminance0.2355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56BC #56CF69
analogous
#A556CF #CF56BC #CF5680
triadic
#CF56BC #BCCF56 #56BCCF
tetradic
#CF56BC #CFA556 #56CF69 #5680CF
square
#CF56BC #CFA556 #56CF69 #5680CF
split-complementary
#CF56BC #80CF56 #56CFA5
monochromatic
#852676 #B533A0 #CF56BC #DD86CF #EAB5E2

Accessibility & contrast

On white

3.68
#CF56BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#CF56BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56BC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56BC#FFFFFF#000000##000000
##CF56BC1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#557ABF
Deuteranopia (green-blind)
#7A8CB9
Tritanopia (blue-blind)
#D85E81
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cf56bc;
/* rgb */ color: rgb(207, 86, 188);
/* oklch */ color: oklch(64.3% 0.193 334.1);
Tailwind
colors: {
  custom: {
    50: '#e18cd0',
    500: '#cf56bc',
    950: '#000000',
  },
}
SCSS
$custom: #cf56bc;
$custom-light: #e18cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56bc",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 309.421,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64254,
    "c": 0.19275,
    "h": 334.1
  },
  "luminance": 0.23552
}

Semantic roles & 50–950 ramp

primary
#CF56BC
secondary
#A8D9B0
accent
#DF6049
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160D14
muted
#847D82

Preview Lab

Preview with #CF56BC

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

Preview Lab → · Contrast checker → · Palette generator →

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