#CF57F7#CF57F7

#CF57F7 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.5% C 0.242 H 316.6°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#CF57F7
RGBrgb(207, 87, 247)
HSLhsl(285, 91%, 65%)
HSVhsv(285, 65%, 97%)
CMYKcmyk(16.2%, 64.8%, 0%, 3.1%)
CIE-LABlab(58.79, 69.99, -59.26)
CIE-LCHlch(58.79, 91.71, 319.75°)
OKLaboklab(67.51% 0.1757 -0.1663)
OKLCHoklch(67.51% 0.242 316.6)
XYZxyz(45.9263, 26.7990, 90.7312)
Luminance0.2680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF57F7 #7FF757
analogous
#7F57F7 #CF57F7 #F757CF
triadic
#CF57F7 #F7CF57 #57F7CF
tetradic
#CF57F7 #F77F57 #7FF757 #57CFF7
square
#CF57F7 #F77F57 #7FF757 #57CFF7
split-complementary
#CF57F7 #CFF757 #57F77F
monochromatic
#9A0ACA #BE1DF4 #CF57F7 #E091FA #F0CCFD

Accessibility & contrast

On white

3.30
#CF57F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#CF57F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF57F7
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF57F7#FFFFFF#000000##000000
##CF57F71.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F86FC
Deuteranopia (green-blind)
#5991F3
Tritanopia (blue-blind)
#CD75A0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cf57f7;
/* rgb */ color: rgb(207, 87, 247);
/* oklch */ color: oklch(67.5% 0.242 316.6);
Tailwind
colors: {
  custom: {
    50: '#e18efa',
    500: '#cf57f7',
    950: '#000000',
  },
}
SCSS
$custom: #cf57f7;
$custom-light: #e18efa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf57f7",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 247
  },
  "hsl": {
    "h": 285,
    "s": 90.909,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67511,
    "c": 0.24187,
    "h": 316.6
  },
  "luminance": 0.26797
}

Semantic roles & 50–950 ramp

primary
#CF57F7
secondary
#C8F0BA
accent
#E60039
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF57F7

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

Preview Lab → · Contrast checker → · Palette generator →

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