#CD57BA#CD57BA

#CD57BA is a light, vivid purple. Relative luminance 0.233; OKLCH L 64.0% C 0.188 H 334.2°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#CD57BA
RGBrgb(205, 87, 186)
HSLhsl(310, 54%, 57%)
HSVhsv(310, 58%, 80%)
CMYKcmyk(0%, 57.6%, 9.3%, 19.6%)
CIE-LABlab(55.42, 58.69, -30.10)
CIE-LCHlch(55.42, 65.95, 332.85°)
OKLaboklab(64.01% 0.1697 -0.0819)
OKLCHoklch(64.01% 0.188 334.2)
XYZxyz(37.4481, 23.3435, 48.9782)
Luminance0.2334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57BA #57CD6A
analogous
#A557CD #CD57BA #CD577F
triadic
#CD57BA #BACD57 #57BACD
tetradic
#CD57BA #CDA557 #57CD6A #577FCD
square
#CD57BA #CDA557 #57CD6A #577FCD
split-complementary
#CD57BA #7FCD57 #57CDA5
monochromatic
#832774 #B2359E #CD57BA #DB86CD #E9B5E1

Accessibility & contrast

On white

3.70
#CD57BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#CD57BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD57BA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD57BA#FFFFFF#000000##000000
##CD57BA1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#567ABD
Deuteranopia (green-blind)
#7A8BB7
Tritanopia (blue-blind)
#D65F81
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd57ba;
/* rgb */ color: rgb(205, 87, 186);
/* oklch */ color: oklch(64.0% 0.188 334.2);
Tailwind
colors: {
  custom: {
    50: '#df8ccf',
    500: '#cd57ba',
    950: '#000000',
  },
}
SCSS
$custom: #cd57ba;
$custom-light: #df8ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57ba",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 309.661,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64009,
    "c": 0.18841,
    "h": 334.2
  },
  "luminance": 0.23341
}

Semantic roles & 50–950 ramp

primary
#CD57BA
secondary
#A8D8B0
accent
#DD624A
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160D14
muted
#847D82

Preview Lab

Preview with #CD57BA

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

Preview Lab → · Contrast checker → · Palette generator →

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