#CF56BD#CF56BD

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

Color values

HEX#CF56BD
RGBrgb(207, 86, 189)
HSLhsl(309, 56%, 57%)
HSVhsv(309, 58%, 81%)
CMYKcmyk(0%, 58.5%, 8.7%, 18.8%)
CIE-LABlab(55.68, 60.16, -31.40)
CIE-LCHlch(55.68, 67.86, 332.44°)
OKLaboklab(64.3% 0.1736 -0.0856)
OKLCHoklch(64.3% 0.194 333.8)
XYZxyz(38.2453, 23.5979, 50.6747)
Luminance0.2359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56BD #56CF68
analogous
#A556CF #CF56BD #CF5680
triadic
#CF56BD #BDCF56 #56BDCF
tetradic
#CF56BD #CFA556 #56CF68 #5680CF
square
#CF56BD #CFA556 #56CF68 #5680CF
split-complementary
#CF56BD #80CF56 #56CFA5
monochromatic
#852677 #B533A1 #CF56BD #DD86D0 #EAB5E2

Accessibility & contrast

On white

3.67
#CF56BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#CF56BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56BD
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56BD#FFFFFF#000000##000000
##CF56BD1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#547AC0
Deuteranopia (green-blind)
#7A8CBA
Tritanopia (blue-blind)
#D85E82
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cf56bd;
/* rgb */ color: rgb(207, 86, 189);
/* oklch */ color: oklch(64.3% 0.194 333.8);
Tailwind
colors: {
  custom: {
    50: '#e18cd1',
    500: '#cf56bd',
    950: '#000000',
  },
}
SCSS
$custom: #cf56bd;
$custom-light: #e18cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56bd",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 308.926,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.643,
    "c": 0.19353,
    "h": 333.8
  },
  "luminance": 0.23595
}

Semantic roles & 50–950 ramp

primary
#CF56BD
secondary
#A8D9AF
accent
#DF5F49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160D14
muted
#847D82

Preview Lab

Preview with #CF56BD

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

Preview Lab → · Contrast checker → · Palette generator →

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