#CF57F2#CF57F2

#CF57F2 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.2% C 0.237 H 317.8°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#CF57F2
RGBrgb(207, 87, 242)
HSLhsl(286, 86%, 65%)
HSVhsv(286, 64%, 95%)
CMYKcmyk(14.5%, 64%, 0%, 5.1%)
CIE-LABlab(58.50, 69.04, -56.94)
CIE-LCHlch(58.50, 89.49, 320.49°)
OKLaboklab(67.22% 0.1758 -0.1595)
OKLCHoklch(67.22% 0.237 317.8)
XYZxyz(45.1651, 26.4945, 86.7220)
Luminance0.2649 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF57F2 #7AF257
analogous
#8257F2 #CF57F2 #F257C7
triadic
#CF57F2 #F2CF57 #57F2CF
tetradic
#CF57F2 #F28257 #7AF257 #57C7F2
square
#CF57F2 #F28257 #7AF257 #57C7F2
split-complementary
#CF57F2 #C7F257 #57F282
monochromatic
#980FC0 #BF1EEE #CF57F2 #DF90F6 #EFC9FB

Accessibility & contrast

On white

3.33
#CF57F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#CF57F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF57F2
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF57F2#FFFFFF#000000##000000
##CF57F21.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F85F7
Deuteranopia (green-blind)
#5D90EE
Tritanopia (blue-blind)
#CE739D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cf57f2;
/* rgb */ color: rgb(207, 87, 242);
/* oklch */ color: oklch(67.2% 0.237 317.8);
Tailwind
colors: {
  custom: {
    50: '#e18ef7',
    500: '#cf57f2',
    950: '#000000',
  },
}
SCSS
$custom: #cf57f2;
$custom-light: #e18ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf57f2",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 286.452,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67215,
    "c": 0.23735,
    "h": 317.8
  },
  "luminance": 0.26493
}

Semantic roles & 50–950 ramp

primary
#CF57F2
secondary
#C4EDB8
accent
#E20336
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF57F2

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

Preview Lab → · Contrast checker → · Palette generator →

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