#CF57E5#CF57E5

#CF57E5 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.5% C 0.226 H 321.2°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#CF57E5
RGBrgb(207, 87, 229)
HSLhsl(291, 73%, 62%)
HSVhsv(291, 62%, 90%)
CMYKcmyk(9.6%, 62%, 0%, 10.2%)
CIE-LABlab(57.79, 66.61, -50.81)
CIE-LCHlch(57.79, 83.78, 322.66°)
OKLaboklab(66.47% 0.1758 -0.1416)
OKLCHoklch(66.47% 0.226 321.2)
XYZxyz(43.2816, 25.7411, 76.8023)
Luminance0.2574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF57E5 #6DE557
analogous
#8857E5 #CF57E5 #E557B4
triadic
#CF57E5 #E5CF57 #57E5CF
tetradic
#CF57E5 #E58857 #6DE557 #57B4E5
square
#CF57E5 #E58857 #6DE557 #57B4E5
split-complementary
#CF57E5 #B4E557 #57E588
monochromatic
#921AA8 #C022DD #CF57E5 #DE8CED #EDC1F5

Accessibility & contrast

On white

3.42
#CF57E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#CF57E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF57E5
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF57E5#FFFFFF#000000##000000
##CF57E51.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3482E9
Deuteranopia (green-blind)
#668FE1
Tritanopia (blue-blind)
#D16E96
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cf57e5;
/* rgb */ color: rgb(207, 87, 229);
/* oklch */ color: oklch(66.5% 0.226 321.2);
Tailwind
colors: {
  custom: {
    50: '#e18eee',
    500: '#cf57e5',
    950: '#000000',
  },
}
SCSS
$custom: #cf57e5;
$custom-light: #e18eee;
$custom-dark: #000000;
JSON
{
  "hex": "#cf57e5",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 290.704,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6647,
    "c": 0.22571,
    "h": 321.2
  },
  "luminance": 0.25739
}

Semantic roles & 50–950 ramp

primary
#CF57E5
secondary
#BAE6B2
accent
#D5102F
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF57E5

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

Preview Lab → · Contrast checker → · Palette generator →

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