#CF57D5#CF57D5

#CF57D5 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.6% C 0.212 H 325.8°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#CF57D5
RGBrgb(207, 87, 213)
HSLhsl(297, 60%, 59%)
HSVhsv(297, 59%, 84%)
CMYKcmyk(2.8%, 59.2%, 0%, 16.5%)
CIE-LABlab(56.97, 63.74, -43.09)
CIE-LCHlch(56.97, 76.94, 325.94°)
OKLaboklab(65.6% 0.175 -0.1192)
OKLCHoklch(65.6% 0.212 325.8)
XYZxyz(41.1497, 24.8883, 65.5744)
Luminance0.2489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF57D5 #5DD557
analogous
#9057D5 #CF57D5 #D5579C
triadic
#CF57D5 #D5CF57 #57D5CF
tetradic
#CF57D5 #D59057 #5DD557 #579CD5
square
#CF57D5 #D59057 #5DD557 #579CD5
split-complementary
#CF57D5 #9CD557 #57D590
monochromatic
#89248E #B830BF #CF57D5 #DD88E1 #EBB9ED

Accessibility & contrast

On white

3.51
#CF57D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#CF57D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF57D5
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF57D5#FFFFFF#000000##000000
##CF57D51.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#457FD9
Deuteranopia (green-blind)
#6F8ED2
Tritanopia (blue-blind)
#D4688E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cf57d5;
/* rgb */ color: rgb(207, 87, 213);
/* oklch */ color: oklch(65.6% 0.212 325.8);
Tailwind
colors: {
  custom: {
    50: '#e18de2',
    500: '#cf57d5',
    950: '#000000',
  },
}
SCSS
$custom: #cf57d5;
$custom-light: #e18de2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf57d5",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 213
  },
  "hsl": {
    "h": 297.143,
    "s": 60,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65604,
    "c": 0.21176,
    "h": 325.8
  },
  "luminance": 0.24886
}

Semantic roles & 50–950 ramp

primary
#CF57D5
secondary
#ADDDAB
accent
#E3454C
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CF57D5

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

Preview Lab → · Contrast checker → · Palette generator →

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