#CF57E7#CF57E7

#CF57E7 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.6% C 0.227 H 320.6°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#CF57E7
RGBrgb(207, 87, 231)
HSLhsl(290, 75%, 62%)
HSVhsv(290, 62%, 91%)
CMYKcmyk(10.4%, 62.3%, 0%, 9.4%)
CIE-LABlab(57.90, 66.98, -51.76)
CIE-LCHlch(57.90, 84.65, 322.30°)
OKLaboklab(66.58% 0.1758 -0.1444)
OKLCHoklch(66.58% 0.227 320.6)
XYZxyz(43.5624, 25.8534, 78.2814)
Luminance0.2585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF57E7 #6FE757
analogous
#8757E7 #CF57E7 #E757B7
triadic
#CF57E7 #E7CF57 #57E7CF
tetradic
#CF57E7 #E78757 #6FE757 #57B7E7
square
#CF57E7 #E78757 #6FE757 #57B7E7
split-complementary
#CF57E7 #B7E757 #57E787
monochromatic
#9318AB #C021DF #CF57E7 #DE8DEF #EEC2F6

Accessibility & contrast

On white

3.40
#CF57E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#CF57E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF57E7
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF57E7#FFFFFF#000000##000000
##CF57E71.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3283EB
Deuteranopia (green-blind)
#658FE3
Tritanopia (blue-blind)
#D06F97
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cf57e7;
/* rgb */ color: rgb(207, 87, 231);
/* oklch */ color: oklch(66.6% 0.227 320.6);
Tailwind
colors: {
  custom: {
    50: '#e18eef',
    500: '#cf57e7',
    950: '#000000',
  },
}
SCSS
$custom: #cf57e7;
$custom-light: #e18eef;
$custom-dark: #000000;
JSON
{
  "hex": "#cf57e7",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 290,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66582,
    "c": 0.22749,
    "h": 320.6
  },
  "luminance": 0.25851
}

Semantic roles & 50–950 ramp

primary
#CF57E7
secondary
#BBE7B3
accent
#D70E30
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF57E7

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

Preview Lab → · Contrast checker → · Palette generator →

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