#CA57B8#CA57B8

#CA57B8 is a light, vivid purple. Relative luminance 0.228; OKLCH L 63.5% C 0.185 H 334.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#CA57B8
RGBrgb(202, 87, 184)
HSLhsl(309, 52%, 57%)
HSVhsv(309, 57%, 79%)
CMYKcmyk(0%, 56.9%, 8.9%, 20.8%)
CIE-LABlab(54.90, 57.54, -29.79)
CIE-LCHlch(54.90, 64.79, 332.63°)
OKLaboklab(63.51% 0.1661 -0.0811)
OKLCHoklch(63.51% 0.185 334)
XYZxyz(36.4172, 22.8363, 47.8279)
Luminance0.2283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57B8 #57CA69
analogous
#A357CA #CA57B8 #CA577F
triadic
#CA57B8 #B8CA57 #57B8CA
tetradic
#CA57B8 #CAA357 #57CA69 #577FCA
square
#CA57B8 #CAA357 #57CA69 #577FCA
split-complementary
#CA57B8 #7FCA57 #57CAA3
monochromatic
#7F2871 #AD379B #CA57B8 #D986CC #E7B4DF

Accessibility & contrast

On white

3.77
#CA57B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#CA57B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA57B8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA57B8#FFFFFF#000000##000000
##CA57B81.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5679BB
Deuteranopia (green-blind)
#798AB5
Tritanopia (blue-blind)
#D35E80
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca57b8;
/* rgb */ color: rgb(202, 87, 184);
/* oklch */ color: oklch(63.5% 0.185 334.0);
Tailwind
colors: {
  custom: {
    50: '#dd8ccd',
    500: '#ca57b8',
    950: '#000000',
  },
}
SCSS
$custom: #ca57b8;
$custom-light: #dd8ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57b8",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 184
  },
  "hsl": {
    "h": 309.391,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6351,
    "c": 0.18484,
    "h": 334
  },
  "luminance": 0.22834
}

Semantic roles & 50–950 ramp

primary
#CA57B8
secondary
#A7D6AE
accent
#DB634C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA57B8

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

Preview Lab → · Contrast checker → · Palette generator →

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