#CD57BF#CD57BF

#CD57BF is a light, vivid purple. Relative luminance 0.236; OKLCH L 64.2% C 0.192 H 332.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#CD57BF
RGBrgb(205, 87, 191)
HSLhsl(307, 54%, 57%)
HSVhsv(307, 58%, 80%)
CMYKcmyk(0%, 57.6%, 6.8%, 19.6%)
CIE-LABlab(55.64, 59.50, -32.63)
CIE-LCHlch(55.64, 67.86, 331.26°)
OKLaboklab(64.24% 0.1705 -0.0891)
OKLCHoklch(64.24% 0.192 332.4)
XYZxyz(37.9890, 23.5598, 51.8267)
Luminance0.2356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57BF #57CD65
analogous
#A057CD #CD57BF #CD5784
triadic
#CD57BF #BFCD57 #57BFCD
tetradic
#CD57BF #CDA057 #57CD65 #5784CD
square
#CD57BF #CDA057 #57CD65 #5784CD
split-complementary
#CD57BF #84CD57 #57CDA0
monochromatic
#832778 #B235A3 #CD57BF #DB86D1 #E9B5E3

Accessibility & contrast

On white

3.68
#CD57BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#CD57BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD57BF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD57BF#FFFFFF#000000##000000
##CD57BF1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#537BC2
Deuteranopia (green-blind)
#788BBC
Tritanopia (blue-blind)
#D56083
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd57bf;
/* rgb */ color: rgb(205, 87, 191);
/* oklch */ color: oklch(64.2% 0.192 332.4);
Tailwind
colors: {
  custom: {
    50: '#df8dd2',
    500: '#cd57bf',
    950: '#000000',
  },
}
SCSS
$custom: #cd57bf;
$custom-light: #df8dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57bf",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 307.119,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64243,
    "c": 0.19234,
    "h": 332.4
  },
  "luminance": 0.23557
}

Semantic roles & 50–950 ramp

primary
#CD57BF
secondary
#A8D8AE
accent
#DD5C4A
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160D14
muted
#847D82

Preview Lab

Preview with #CD57BF

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

Preview Lab → · Contrast checker → · Palette generator →

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