#CF57D8#CF57D8

#CF57D8 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 65.8% C 0.214 H 324.8°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#CF57D8
RGBrgb(207, 87, 216)
HSLhsl(296, 62%, 59%)
HSVhsv(296, 60%, 85%)
CMYKcmyk(4.2%, 59.7%, 0%, 15.3%)
CIE-LABlab(57.12, 64.27, -44.55)
CIE-LCHlch(57.12, 78.20, 325.27°)
OKLaboklab(65.76% 0.1752 -0.1234)
OKLCHoklch(65.76% 0.214 324.8)
XYZxyz(41.5340, 25.0420, 67.5983)
Luminance0.2504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF57D8 #60D857
analogous
#8F57D8 #CF57D8 #D857A1
triadic
#CF57D8 #D8CF57 #57D8CF
tetradic
#CF57D8 #D88F57 #60D857 #57A1D8
square
#CF57D8 #D88F57 #60D857 #57A1D8
split-complementary
#CF57D8 #A1D857 #57D88F
monochromatic
#8B2293 #BA2EC4 #CF57D8 #DD89E4 #EBBAEF

Accessibility & contrast

On white

3.50
#CF57D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#CF57D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF57D8
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF57D8#FFFFFF#000000##000000
##CF57D81.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4280DC
Deuteranopia (green-blind)
#6E8ED5
Tritanopia (blue-blind)
#D36990
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cf57d8;
/* rgb */ color: rgb(207, 87, 216);
/* oklch */ color: oklch(65.8% 0.214 324.8);
Tailwind
colors: {
  custom: {
    50: '#e18de4',
    500: '#cf57d8',
    950: '#000000',
  },
}
SCSS
$custom: #cf57d8;
$custom-light: #e18de4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf57d8",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 216
  },
  "hsl": {
    "h": 295.814,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65762,
    "c": 0.21433,
    "h": 324.8
  },
  "luminance": 0.2504
}

Semantic roles & 50–950 ramp

primary
#CF57D8
secondary
#B0DFAC
accent
#E5424E
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF57D8

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

Preview Lab → · Contrast checker → · Palette generator →

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