#CF57C7#CF57C7

#CF57C7 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 64.9% C 0.200 H 330.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#CF57C7
RGBrgb(207, 87, 199)
HSLhsl(304, 56%, 58%)
HSVhsv(304, 58%, 81%)
CMYKcmyk(0%, 58%, 3.9%, 18.8%)
CIE-LABlab(56.30, 61.35, -36.18)
CIE-LCHlch(56.30, 71.22, 329.47°)
OKLaboklab(64.9% 0.1737 -0.0992)
OKLCHoklch(64.9% 0.2 330.3)
XYZxyz(39.4488, 24.2080, 56.6166)
Luminance0.2420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF57C7 #57CF5F
analogous
#9B57CF #CF57C7 #CF578B
triadic
#CF57C7 #C7CF57 #57C7CF
tetradic
#CF57C7 #CF9B57 #57CF5F #578BCF
square
#CF57C7 #CF9B57 #57CF5F #578BCF
split-complementary
#CF57C7 #8BCF57 #57CF9B
monochromatic
#85267F #B534AC #CF57C7 #DD87D7 #EAB6E7

Accessibility & contrast

On white

3.60
#CF57C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#CF57C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF57C7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF57C7#FFFFFF#000000##000000
##CF57C71.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7CCA
Deuteranopia (green-blind)
#768DC4
Tritanopia (blue-blind)
#D66387
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cf57c7;
/* rgb */ color: rgb(207, 87, 199);
/* oklch */ color: oklch(64.9% 0.200 330.3);
Tailwind
colors: {
  custom: {
    50: '#e18dd8',
    500: '#cf57c7',
    950: '#000000',
  },
}
SCSS
$custom: #cf57c7;
$custom-light: #e18dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf57c7",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 199
  },
  "hsl": {
    "h": 304,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64896,
    "c": 0.20004,
    "h": 330.3
  },
  "luminance": 0.24205
}

Semantic roles & 50–950 ramp

primary
#CF57C7
secondary
#A9D9AC
accent
#DF5349
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CF57C7

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

Preview Lab → · Contrast checker → · Palette generator →

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