#CF57D7#CF57D7

#CF57D7 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 65.7% C 0.213 H 325.1°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#CF57D7
RGBrgb(207, 87, 215)
HSLhsl(296, 62%, 59%)
HSVhsv(296, 60%, 84%)
CMYKcmyk(3.7%, 59.5%, 0%, 15.7%)
CIE-LABlab(57.07, 64.09, -44.07)
CIE-LCHlch(57.07, 77.78, 325.49°)
OKLaboklab(65.71% 0.1752 -0.122)
OKLCHoklch(65.71% 0.213 325.1)
XYZxyz(41.4051, 24.9905, 66.9195)
Luminance0.2499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF57D7 #5FD757
analogous
#8F57D7 #CF57D7 #D7579F
triadic
#CF57D7 #D7CF57 #57D7CF
tetradic
#CF57D7 #D78F57 #5FD757 #579FD7
square
#CF57D7 #D78F57 #5FD757 #579FD7
split-complementary
#CF57D7 #9FD757 #57D78F
monochromatic
#8A2391 #B92EC2 #CF57D7 #DD88E3 #EBBAEF

Accessibility & contrast

On white

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

On black

6.00
#CF57D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF57D7
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF57D7#FFFFFF#000000##000000
##CF57D71.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#437FDB
Deuteranopia (green-blind)
#6E8ED4
Tritanopia (blue-blind)
#D3698F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cf57d7;
/* rgb */ color: rgb(207, 87, 215);
/* oklch */ color: oklch(65.7% 0.213 325.1);
Tailwind
colors: {
  custom: {
    50: '#e18de4',
    500: '#cf57d7',
    950: '#000000',
  },
}
SCSS
$custom: #cf57d7;
$custom-light: #e18de4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf57d7",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 215
  },
  "hsl": {
    "h": 296.25,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65709,
    "c": 0.21348,
    "h": 325.1
  },
  "luminance": 0.24988
}

Semantic roles & 50–950 ramp

primary
#CF57D7
secondary
#AFDEAC
accent
#E5434D
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D15
muted
#847E84

Preview Lab

Preview with #CF57D7

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

Preview Lab → · Contrast checker → · Palette generator →

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