#CF57BD#CF57BD

#CF57BD is a light, vivid purple. Relative luminance 0.238; OKLCH L 64.4% C 0.192 H 333.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#CF57BD
RGBrgb(207, 87, 189)
HSLhsl(309, 56%, 58%)
HSVhsv(309, 58%, 81%)
CMYKcmyk(0%, 58%, 8.7%, 18.8%)
CIE-LABlab(55.85, 59.71, -31.15)
CIE-LCHlch(55.85, 67.35, 332.45°)
OKLaboklab(64.42% 0.1723 -0.0848)
OKLCHoklch(64.42% 0.192 333.8)
XYZxyz(38.3257, 23.7587, 50.7015)
Luminance0.2376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF57BD #57CF69
analogous
#A557CF #CF57BD #CF5781
triadic
#CF57BD #BDCF57 #57BDCF
tetradic
#CF57BD #CFA557 #57CF69 #5781CF
square
#CF57BD #CFA557 #57CF69 #5781CF
split-complementary
#CF57BD #81CF57 #57CFA5
monochromatic
#852677 #B534A2 #CF57BD #DD87D0 #EAB6E2

Accessibility & contrast

On white

3.65
#CF57BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#CF57BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF57BD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF57BD#FFFFFF#000000##000000
##CF57BD1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#557BC0
Deuteranopia (green-blind)
#7A8CBA
Tritanopia (blue-blind)
#D85F82
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf57bd;
/* rgb */ color: rgb(207, 87, 189);
/* oklch */ color: oklch(64.4% 0.192 333.8);
Tailwind
colors: {
  custom: {
    50: '#e08dd1',
    500: '#cf57bd',
    950: '#000000',
  },
}
SCSS
$custom: #cf57bd;
$custom-light: #e08dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf57bd",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 189
  },
  "hsl": {
    "h": 309,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.6442,
    "c": 0.19206,
    "h": 333.8
  },
  "luminance": 0.23756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF57BD

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

Preview Lab → · Contrast checker → · Palette generator →

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