#CF57E2#CF57E2

#CF57E2 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.3% C 0.223 H 322.0°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#CF57E2
RGBrgb(207, 87, 226)
HSLhsl(292, 71%, 61%)
HSVhsv(292, 62%, 89%)
CMYKcmyk(8.4%, 61.5%, 0%, 11.4%)
CIE-LABlab(57.63, 66.06, -49.38)
CIE-LCHlch(57.63, 82.48, 323.22°)
OKLaboklab(66.3% 0.1757 -0.1374)
OKLCHoklch(66.3% 0.223 322)
XYZxyz(42.8663, 25.5750, 74.6153)
Luminance0.2557 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF57E2 #6AE257
analogous
#8A57E2 #CF57E2 #E257AF
triadic
#CF57E2 #E2CF57 #57E2CF
tetradic
#CF57E2 #E28A57 #6AE257 #57AFE2
square
#CF57E2 #E28A57 #6AE257 #57AFE2
split-complementary
#CF57E2 #AFE257 #57E28A
monochromatic
#901CA3 #BE25D7 #CF57E2 #DE8BEB #EDBFF4

Accessibility & contrast

On white

3.43
#CF57E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#CF57E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF57E2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF57E2#FFFFFF#000000##000000
##CF57E21.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3882E6
Deuteranopia (green-blind)
#688FDE
Tritanopia (blue-blind)
#D16D95
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf57e2;
/* rgb */ color: rgb(207, 87, 226);
/* oklch */ color: oklch(66.3% 0.223 322.0);
Tailwind
colors: {
  custom: {
    50: '#e18eec',
    500: '#cf57e2',
    950: '#000000',
  },
}
SCSS
$custom: #cf57e2;
$custom-light: #e18eec;
$custom-dark: #000000;
JSON
{
  "hex": "#cf57e2",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 226
  },
  "hsl": {
    "h": 291.799,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66303,
    "c": 0.22307,
    "h": 322
  },
  "luminance": 0.25573
}

Semantic roles & 50–950 ramp

primary
#CF57E2
secondary
#B8E4B0
accent
#D3132D
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF57E2

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

Preview Lab → · Contrast checker → · Palette generator →

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