#CF57F3#CF57F3

#CF57F3 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.3% C 0.238 H 317.5°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#CF57F3
RGBrgb(207, 87, 243)
HSLhsl(286, 87%, 65%)
HSVhsv(286, 64%, 95%)
CMYKcmyk(14.8%, 64.2%, 0%, 4.7%)
CIE-LABlab(58.56, 69.23, -57.40)
CIE-LCHlch(58.56, 89.93, 320.34°)
OKLaboklab(67.27% 0.1758 -0.1608)
OKLCHoklch(67.27% 0.238 317.5)
XYZxyz(45.3157, 26.5547, 87.5152)
Luminance0.2655 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF57F3 #7BF357
analogous
#8157F3 #CF57F3 #F357C9
triadic
#CF57F3 #F3CF57 #57F3CF
tetradic
#CF57F3 #F38157 #7BF357 #57C9F3
square
#CF57F3 #F38157 #7BF357 #57C9F3
split-complementary
#CF57F3 #C9F357 #57F381
monochromatic
#980EC2 #BF1EEF #CF57F3 #DF90F7 #F0C9FB

Accessibility & contrast

On white

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

On black

6.31
#CF57F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF57F3
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF57F3#FFFFFF#000000##000000
##CF57F31.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C85F8
Deuteranopia (green-blind)
#5C91EF
Tritanopia (blue-blind)
#CE739E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cf57f3;
/* rgb */ color: rgb(207, 87, 243);
/* oklch */ color: oklch(67.3% 0.238 317.5);
Tailwind
colors: {
  custom: {
    50: '#e18ef8',
    500: '#cf57f3',
    950: '#000000',
  },
}
SCSS
$custom: #cf57f3;
$custom-light: #e18ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf57f3",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 243
  },
  "hsl": {
    "h": 286.154,
    "s": 86.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67274,
    "c": 0.23825,
    "h": 317.5
  },
  "luminance": 0.26553
}

Semantic roles & 50–950 ramp

primary
#CF57F3
secondary
#C4EEB8
accent
#E30236
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF57F3

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

Preview Lab → · Contrast checker → · Palette generator →

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