#CF57DF#CF57DF

#CF57DF is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.1% C 0.220 H 322.8°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#CF57DF
RGBrgb(207, 87, 223)
HSLhsl(293, 68%, 61%)
HSVhsv(293, 61%, 87%)
CMYKcmyk(7.2%, 61%, 0%, 12.5%)
CIE-LABlab(57.47, 65.52, -47.94)
CIE-LCHlch(57.47, 81.18, 323.81°)
OKLaboklab(66.14% 0.1756 -0.1332)
OKLCHoklch(66.14% 0.22 322.8)
XYZxyz(42.4583, 25.4117, 72.4663)
Luminance0.2541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF57DF #67DF57
analogous
#8B57DF #CF57DF #DF57AB
triadic
#CF57DF #DFCF57 #57DFCF
tetradic
#CF57DF #DF8B57 #67DF57 #57ABDF
square
#CF57DF #DF8B57 #67DF57 #57ABDF
split-complementary
#CF57DF #ABDF57 #57DF8B
monochromatic
#8F1E9E #BD28D1 #CF57DF #DE8AE9 #ECBEF3

Accessibility & contrast

On white

3.45
#CF57DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#CF57DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF57DF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF57DF#FFFFFF#000000##000000
##CF57DF1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B81E3
Deuteranopia (green-blind)
#6A8FDB
Tritanopia (blue-blind)
#D26C93
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf57df;
/* rgb */ color: rgb(207, 87, 223);
/* oklch */ color: oklch(66.1% 0.220 322.8);
Tailwind
colors: {
  custom: {
    50: '#e18de9',
    500: '#cf57df',
    950: '#000000',
  },
}
SCSS
$custom: #cf57df;
$custom-light: #e18de9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf57df",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 292.941,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66138,
    "c": 0.22042,
    "h": 322.8
  },
  "luminance": 0.2541
}

Semantic roles & 50–950 ramp

primary
#CF57DF
secondary
#B5E3AF
accent
#D0162B
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF57DF

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

Preview Lab → · Contrast checker → · Palette generator →

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