#CF57BE#CF57BE

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

Color values

HEX#CF57BE
RGBrgb(207, 87, 190)
HSLhsl(309, 56%, 58%)
HSVhsv(309, 58%, 81%)
CMYKcmyk(0%, 58%, 8.2%, 18.8%)
CIE-LABlab(55.89, 59.87, -31.65)
CIE-LCHlch(55.89, 67.73, 332.14°)
OKLaboklab(64.47% 0.1725 -0.0863)
OKLCHoklch(64.47% 0.193 333.4)
XYZxyz(38.4347, 23.8023, 51.2752)
Luminance0.2380 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF57BE #57CF68
analogous
#A457CF #CF57BE #CF5782
triadic
#CF57BE #BECF57 #57BECF
tetradic
#CF57BE #CFA457 #57CF68 #5782CF
square
#CF57BE #CFA457 #57CF68 #5782CF
split-complementary
#CF57BE #82CF57 #57CFA4
monochromatic
#852678 #B534A3 #CF57BE #DD87D0 #EAB6E3

Accessibility & contrast

On white

3.65
#CF57BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#CF57BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF57BE
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF57BE#FFFFFF#000000##000000
##CF57BE1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#557BC1
Deuteranopia (green-blind)
#7A8CBB
Tritanopia (blue-blind)
#D86083
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf57be;
/* rgb */ color: rgb(207, 87, 190);
/* oklch */ color: oklch(64.5% 0.193 333.4);
Tailwind
colors: {
  custom: {
    50: '#e08dd2',
    500: '#cf57be',
    950: '#000000',
  },
}
SCSS
$custom: #cf57be;
$custom-light: #e08dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf57be",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 190
  },
  "hsl": {
    "h": 308.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64466,
    "c": 0.19283,
    "h": 333.4
  },
  "luminance": 0.23799
}

Semantic roles & 50–950 ramp

primary
#CF57BE
secondary
#A9D9B0
accent
#DF5E49
background
#FEF9FC
surface
#FCF1F9
border
#D5CBD2
text
#160D14
muted
#847E82

Preview Lab

Preview with #CF57BE

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

Preview Lab → · Contrast checker → · Palette generator →

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