#CF57C2#CF57C2

#CF57C2 is a light, vivid purple. Relative luminance 0.240; OKLCH L 64.7% C 0.196 H 332.0°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#CF57C2
RGBrgb(207, 87, 194)
HSLhsl(307, 56%, 58%)
HSVhsv(307, 58%, 81%)
CMYKcmyk(0%, 58%, 6.3%, 18.8%)
CIE-LABlab(56.07, 60.52, -33.67)
CIE-LCHlch(56.07, 69.26, 330.91°)
OKLaboklab(64.66% 0.173 -0.0921)
OKLCHoklch(64.66% 0.196 332)
XYZxyz(38.8778, 23.9796, 53.6093)
Luminance0.2398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF57C2 #57CF64
analogous
#A057CF #CF57C2 #CF5786
triadic
#CF57C2 #C2CF57 #57C2CF
tetradic
#CF57C2 #CFA057 #57CF64 #5786CF
square
#CF57C2 #CFA057 #57CF64 #5786CF
split-complementary
#CF57C2 #86CF57 #57CFA0
monochromatic
#85267B #B534A7 #CF57C2 #DD87D3 #EAB6E5

Accessibility & contrast

On white

3.62
#CF57C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#CF57C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF57C2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF57C2#FFFFFF#000000##000000
##CF57C21.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#527CC5
Deuteranopia (green-blind)
#788DBF
Tritanopia (blue-blind)
#D76185
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf57c2;
/* rgb */ color: rgb(207, 87, 194);
/* oklch */ color: oklch(64.7% 0.196 332.0);
Tailwind
colors: {
  custom: {
    50: '#e08dd5',
    500: '#cf57c2',
    950: '#000000',
  },
}
SCSS
$custom: #cf57c2;
$custom-light: #e08dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf57c2",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 194
  },
  "hsl": {
    "h": 306.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64655,
    "c": 0.196,
    "h": 332
  },
  "luminance": 0.23977
}

Semantic roles & 50–950 ramp

primary
#CF57C2
secondary
#A9D9AE
accent
#DF5949
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CF57C2

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

Preview Lab → · Contrast checker → · Palette generator →

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