#CF57BC#CF57BC

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

Color values

HEX#CF57BC
RGBrgb(207, 87, 188)
HSLhsl(310, 56%, 58%)
HSVhsv(310, 58%, 81%)
CMYKcmyk(0%, 58%, 9.2%, 18.8%)
CIE-LABlab(55.80, 59.55, -30.64)
CIE-LCHlch(55.80, 66.97, 332.77°)
OKLaboklab(64.37% 0.1721 -0.0834)
OKLCHoklch(64.37% 0.191 334.2)
XYZxyz(38.2176, 23.7155, 50.1319)
Luminance0.2371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF57BC #57CF6A
analogous
#A657CF #CF57BC #CF5780
triadic
#CF57BC #BCCF57 #57BCCF
tetradic
#CF57BC #CFA657 #57CF6A #5780CF
square
#CF57BC #CFA657 #57CF6A #5780CF
split-complementary
#CF57BC #80CF57 #57CFA6
monochromatic
#852676 #B534A1 #CF57BC #DD87CF #EAB6E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF57BC#FFFFFF#000000##000000
##CF57BC1.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)
#567ABF
Deuteranopia (green-blind)
#7B8CB9
Tritanopia (blue-blind)
#D85F82
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf57bc;
/* rgb */ color: rgb(207, 87, 188);
/* oklch */ color: oklch(64.4% 0.191 334.2);
Tailwind
colors: {
  custom: {
    50: '#e08dd0',
    500: '#cf57bc',
    950: '#000000',
  },
}
SCSS
$custom: #cf57bc;
$custom-light: #e08dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf57bc",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 309.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64373,
    "c": 0.19128,
    "h": 334.2
  },
  "luminance": 0.23713
}

Semantic roles & 50–950 ramp

primary
#CF57BC
secondary
#A9D9B0
accent
#DF6149
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160D14
muted
#847D82

Preview Lab

Preview with #CF57BC

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

Preview Lab → · Contrast checker → · Palette generator →

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