#CA57BB#CA57BB

#CA57BB is a light, vivid purple. Relative luminance 0.230; OKLCH L 63.6% C 0.187 H 332.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#CA57BB
RGBrgb(202, 87, 187)
HSLhsl(308, 52%, 57%)
HSVhsv(308, 57%, 79%)
CMYKcmyk(0%, 56.9%, 7.4%, 20.8%)
CIE-LABlab(55.03, 58.03, -31.31)
CIE-LCHlch(55.03, 65.93, 331.65°)
OKLaboklab(63.65% 0.1666 -0.0854)
OKLCHoklch(63.65% 0.187 332.9)
XYZxyz(36.7350, 22.9634, 49.5016)
Luminance0.2296 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57BB #57CA66
analogous
#A057CA #CA57BB #CA5782
triadic
#CA57BB #BBCA57 #57BBCA
tetradic
#CA57BB #CAA057 #57CA66 #5782CA
square
#CA57BB #CAA057 #57CA66 #5782CA
split-complementary
#CA57BB #82CA57 #57CAA0
monochromatic
#7F2873 #AD379E #CA57BB #D986CE #E7B4E1

Accessibility & contrast

On white

3.76
#CA57BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#CA57BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA57BB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA57BB#FFFFFF#000000##000000
##CA57BB1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5479BE
Deuteranopia (green-blind)
#778AB8
Tritanopia (blue-blind)
#D26081
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ca57bb;
/* rgb */ color: rgb(202, 87, 187);
/* oklch */ color: oklch(63.6% 0.187 332.9);
Tailwind
colors: {
  custom: {
    50: '#dd8ccf',
    500: '#ca57bb',
    950: '#000000',
  },
}
SCSS
$custom: #ca57bb;
$custom-light: #dd8ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57bb",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 307.826,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6365,
    "c": 0.18722,
    "h": 332.9
  },
  "luminance": 0.22961
}

Semantic roles & 50–950 ramp

primary
#CA57BB
secondary
#A7D6AD
accent
#DB5F4C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #CA57BB

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

Preview Lab → · Contrast checker → · Palette generator →

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