#CF51BD#CF51BD

#CF51BD is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 63.7% C 0.201 H 333.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#CF51BD
RGBrgb(207, 81, 189)
HSLhsl(309, 57%, 56%)
HSVhsv(309, 61%, 81%)
CMYKcmyk(0%, 60.9%, 8.7%, 18.8%)
CIE-LABlab(54.89, 62.31, -32.63)
CIE-LCHlch(54.89, 70.34, 332.36°)
OKLaboklab(63.72% 0.1799 -0.089)
OKLCHoklch(63.72% 0.201 333.7)
XYZxyz(37.8600, 22.8273, 50.5463)
Luminance0.2282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF51BD #51CF63
analogous
#A251CF #CF51BD #CF517E
triadic
#CF51BD #BDCF51 #51BDCF
tetradic
#CF51BD #CFA251 #51CF63 #517ECF
square
#CF51BD #CFA251 #51CF63 #517ECF
split-complementary
#CF51BD #7ECF51 #51CFA2
monochromatic
#822474 #B2319F #CF51BD #DC81CF #E9B1E1

Accessibility & contrast

On white

3.77
#CF51BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#CF51BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF51BD
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF51BD#FFFFFF#000000##000000
##CF51BD1.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F78C0
Deuteranopia (green-blind)
#778ABA
Tritanopia (blue-blind)
#D85A80
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf51bd;
/* rgb */ color: rgb(207, 81, 189);
/* oklch */ color: oklch(63.7% 0.201 333.7);
Tailwind
colors: {
  custom: {
    50: '#e189d1',
    500: '#cf51bd',
    950: '#000000',
  },
}
SCSS
$custom: #cf51bd;
$custom-light: #e189d1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf51bd",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 308.571,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63723,
    "c": 0.20071,
    "h": 333.7
  },
  "luminance": 0.22824
}

Semantic roles & 50–950 ramp

primary
#CF51BD
secondary
#A4D8AB
accent
#E05E48
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CF51BD

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

Preview Lab → · Contrast checker → · Palette generator →

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