#CA57BD#CA57BD

#CA57BD is a light, vivid purple. Relative luminance 0.230; OKLCH L 63.7% C 0.189 H 332.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#CA57BD
RGBrgb(202, 87, 189)
HSLhsl(307, 52%, 57%)
HSVhsv(307, 57%, 79%)
CMYKcmyk(0%, 56.9%, 6.4%, 20.8%)
CIE-LABlab(55.12, 58.35, -32.33)
CIE-LCHlch(55.12, 66.71, 331.01°)
OKLaboklab(63.74% 0.1669 -0.0883)
OKLCHoklch(63.74% 0.189 332.1)
XYZxyz(36.9505, 23.0496, 50.6371)
Luminance0.2305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57BD #57CA64
analogous
#9E57CA #CA57BD #CA5784
triadic
#CA57BD #BDCA57 #57BDCA
tetradic
#CA57BD #CA9E57 #57CA64 #5784CA
square
#CA57BD #CA9E57 #57CA64 #5784CA
split-complementary
#CA57BD #84CA57 #57CA9E
monochromatic
#7F2875 #AD37A0 #CA57BD #D986CF #E7B4E2

Accessibility & contrast

On white

3.74
#CA57BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#CA57BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA57BD
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA57BD#FFFFFF#000000##000000
##CA57BD1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#537AC0
Deuteranopia (green-blind)
#778ABA
Tritanopia (blue-blind)
#D26082
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ca57bd;
/* rgb */ color: rgb(202, 87, 189);
/* oklch */ color: oklch(63.7% 0.189 332.1);
Tailwind
colors: {
  custom: {
    50: '#dd8cd1',
    500: '#ca57bd',
    950: '#000000',
  },
}
SCSS
$custom: #ca57bd;
$custom-light: #dd8cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57bd",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 189
  },
  "hsl": {
    "h": 306.783,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63744,
    "c": 0.18882,
    "h": 332.1
  },
  "luminance": 0.23047
}

Semantic roles & 50–950 ramp

primary
#CA57BD
secondary
#A7D6AC
accent
#DB5D4C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150D14
muted
#837D82

Preview Lab

Preview with #CA57BD

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

Preview Lab → · Contrast checker → · Palette generator →

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