#CF56BE#CF56BE

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

Color values

HEX#CF56BE
RGBrgb(207, 86, 190)
HSLhsl(308, 56%, 57%)
HSVhsv(308, 58%, 81%)
CMYKcmyk(0%, 58.5%, 8.2%, 18.8%)
CIE-LABlab(55.73, 60.32, -31.91)
CIE-LCHlch(55.73, 68.23, 332.12°)
OKLaboklab(64.35% 0.1737 -0.087)
OKLCHoklch(64.35% 0.194 333.4)
XYZxyz(38.3543, 23.6415, 51.2484)
Luminance0.2364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56BE #56CF67
analogous
#A456CF #CF56BE #CF5681
triadic
#CF56BE #BECF56 #56BECF
tetradic
#CF56BE #CFA456 #56CF67 #5681CF
square
#CF56BE #CFA456 #56CF67 #5681CF
split-complementary
#CF56BE #81CF56 #56CFA4
monochromatic
#852677 #B533A2 #CF56BE #DD86D0 #EAB5E3

Accessibility & contrast

On white

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

On black

5.73
#CF56BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56BE
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56BE#FFFFFF#000000##000000
##CF56BE1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#537AC1
Deuteranopia (green-blind)
#798CBB
Tritanopia (blue-blind)
#D85F82
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cf56be;
/* rgb */ color: rgb(207, 86, 190);
/* oklch */ color: oklch(64.3% 0.194 333.4);
Tailwind
colors: {
  custom: {
    50: '#e18cd2',
    500: '#cf56be',
    950: '#000000',
  },
}
SCSS
$custom: #cf56be;
$custom-light: #e18cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56be",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 190
  },
  "hsl": {
    "h": 308.43,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64347,
    "c": 0.19431,
    "h": 333.4
  },
  "luminance": 0.23639
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF56BE

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

Preview Lab → · Contrast checker → · Palette generator →

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