#CF56BB#CF56BB

#CF56BB is a light, vivid purple. Relative luminance 0.235; OKLCH L 64.2% C 0.192 H 334.5°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#CF56BB
RGBrgb(207, 86, 187)
HSLhsl(310, 56%, 57%)
HSVhsv(310, 58%, 81%)
CMYKcmyk(0%, 58.5%, 9.7%, 18.8%)
CIE-LABlab(55.60, 59.84, -30.38)
CIE-LCHlch(55.60, 67.11, 333.08°)
OKLaboklab(64.21% 0.1733 -0.0827)
OKLCHoklch(64.21% 0.192 334.5)
XYZxyz(38.0297, 23.5117, 49.5393)
Luminance0.2351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56BB #56CF6A
analogous
#A656CF #CF56BB #CF567F
triadic
#CF56BB #BBCF56 #56BBCF
tetradic
#CF56BB #CFA656 #56CF6A #567FCF
square
#CF56BB #CFA656 #56CF6A #567FCF
split-complementary
#CF56BB #7FCF56 #56CFA6
monochromatic
#852675 #B5339F #CF56BB #DD86CE #EAB5E1

Accessibility & contrast

On white

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

On black

5.70
#CF56BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56BB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56BB#FFFFFF#000000##000000
##CF56BB1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf56bb;
/* rgb */ color: rgb(207, 86, 187);
/* oklch */ color: oklch(64.2% 0.192 334.5);
Tailwind
colors: {
  custom: {
    50: '#e18ccf',
    500: '#cf56bb',
    950: '#000000',
  },
}
SCSS
$custom: #cf56bb;
$custom-light: #e18ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56bb",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 309.917,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64208,
    "c": 0.19199,
    "h": 334.5
  },
  "luminance": 0.23509
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF56BB

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

Preview Lab → · Contrast checker → · Palette generator →

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