#CF56BF#CF56BF

#CF56BF is a light, vivid purple. Relative luminance 0.237; OKLCH L 64.4% C 0.195 H 333.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#CF56BF
RGBrgb(207, 86, 191)
HSLhsl(308, 56%, 57%)
HSVhsv(308, 58%, 81%)
CMYKcmyk(0%, 58.5%, 7.7%, 18.8%)
CIE-LABlab(55.77, 60.48, -32.41)
CIE-LCHlch(55.77, 68.61, 331.81°)
OKLaboklab(64.39% 0.1739 -0.0884)
OKLCHoklch(64.39% 0.195 333)
XYZxyz(38.4639, 23.6854, 51.8260)
Luminance0.2368 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56BF #56CF66
analogous
#A356CF #CF56BF #CF5682
triadic
#CF56BF #BFCF56 #56BFCF
tetradic
#CF56BF #CFA356 #56CF66 #5682CF
square
#CF56BF #CFA356 #56CF66 #5682CF
split-complementary
#CF56BF #82CF56 #56CFA3
monochromatic
#852678 #B533A3 #CF56BF #DD86D1 #EAB5E3

Accessibility & contrast

On white

3.66
#CF56BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#CF56BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56BF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56BF#FFFFFF#000000##000000
##CF56BF1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#537AC2
Deuteranopia (green-blind)
#798CBC
Tritanopia (blue-blind)
#D85F83
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf56bf;
/* rgb */ color: rgb(207, 86, 191);
/* oklch */ color: oklch(64.4% 0.195 333.0);
Tailwind
colors: {
  custom: {
    50: '#e18cd2',
    500: '#cf56bf',
    950: '#000000',
  },
}
SCSS
$custom: #cf56bf;
$custom-light: #e18cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56bf",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 307.934,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64394,
    "c": 0.19509,
    "h": 333
  },
  "luminance": 0.23683
}

Semantic roles & 50–950 ramp

primary
#CF56BF
secondary
#A8D9AE
accent
#DF5D49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160D14
muted
#847D82

Preview Lab

Preview with #CF56BF

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

Preview Lab → · Contrast checker → · Palette generator →

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