#CF57CB#CF57CB

#CF57CB is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.1% C 0.203 H 328.9°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#CF57CB
RGBrgb(207, 87, 203)
HSLhsl(302, 56%, 58%)
HSVhsv(302, 58%, 81%)
CMYKcmyk(0%, 58%, 1.9%, 18.8%)
CIE-LABlab(56.48, 62.02, -38.17)
CIE-LCHlch(56.48, 72.82, 328.39°)
OKLaboklab(65.09% 0.1741 -0.105)
OKLCHoklch(65.09% 0.203 328.9)
XYZxyz(39.9194, 24.3962, 59.0947)
Luminance0.2439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF57CB #57CF5B
analogous
#9757CF #CF57CB #CF578F
triadic
#CF57CB #CBCF57 #57CBCF
tetradic
#CF57CB #CF9757 #57CF5B #578FCF
square
#CF57CB #CF9757 #57CF5B #578FCF
split-complementary
#CF57CB #8FCF57 #57CF97
monochromatic
#852682 #B534B1 #CF57CB #DD87DA #EAB6E8

Accessibility & contrast

On white

3.57
#CF57CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#CF57CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF57CB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF57CB#FFFFFF#000000##000000
##CF57CB1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCF
Deuteranopia (green-blind)
#748DC8
Tritanopia (blue-blind)
#D66489
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cf57cb;
/* rgb */ color: rgb(207, 87, 203);
/* oklch */ color: oklch(65.1% 0.203 328.9);
Tailwind
colors: {
  custom: {
    50: '#e18ddb',
    500: '#cf57cb',
    950: '#000000',
  },
}
SCSS
$custom: #cf57cb;
$custom-light: #e18ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf57cb",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 302,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.65094,
    "c": 0.20333,
    "h": 328.9
  },
  "luminance": 0.24394
}

Semantic roles & 50–950 ramp

primary
#CF57CB
secondary
#A9D9AA
accent
#DF4E49
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CF57CB

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

Preview Lab → · Contrast checker → · Palette generator →

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