#CF57BF#CF57BF

#CF57BF is a light, vivid purple. Relative luminance 0.238; OKLCH L 64.5% C 0.194 H 333.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#CF57BF
RGBrgb(207, 87, 191)
HSLhsl(308, 56%, 58%)
HSVhsv(308, 58%, 81%)
CMYKcmyk(0%, 58%, 7.7%, 18.8%)
CIE-LABlab(55.93, 60.03, -32.16)
CIE-LCHlch(55.93, 68.11, 331.82°)
OKLaboklab(64.51% 0.1726 -0.0877)
OKLCHoklch(64.51% 0.194 333.1)
XYZxyz(38.5443, 23.8462, 51.8528)
Luminance0.2384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF57BF #57CF67
analogous
#A357CF #CF57BF #CF5783
triadic
#CF57BF #BFCF57 #57BFCF
tetradic
#CF57BF #CFA357 #57CF67 #5783CF
square
#CF57BF #CFA357 #57CF67 #5783CF
split-complementary
#CF57BF #83CF57 #57CFA3
monochromatic
#852679 #B534A4 #CF57BF #DD87D1 #EAB6E3

Accessibility & contrast

On white

3.64
#CF57BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#CF57BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF57BF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF57BF#FFFFFF#000000##000000
##CF57BF1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#547BC2
Deuteranopia (green-blind)
#798CBC
Tritanopia (blue-blind)
#D76083
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf57bf;
/* rgb */ color: rgb(207, 87, 191);
/* oklch */ color: oklch(64.5% 0.194 333.1);
Tailwind
colors: {
  custom: {
    50: '#e08dd2',
    500: '#cf57bf',
    950: '#000000',
  },
}
SCSS
$custom: #cf57bf;
$custom-light: #e08dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf57bf",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 308,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64513,
    "c": 0.19362,
    "h": 333.1
  },
  "luminance": 0.23843
}

Semantic roles & 50–950 ramp

primary
#CF57BF
secondary
#A9D9AF
accent
#DF5D49
background
#FEF9FC
surface
#FCF1F9
border
#D5CBD2
text
#160D14
muted
#847E82

Preview Lab

Preview with #CF57BF

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

Preview Lab → · Contrast checker → · Palette generator →

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