#CA57DC#CA57DC

#CA57DC is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.3% C 0.215 H 322.0°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#CA57DC
RGBrgb(202, 87, 220)
HSLhsl(292, 66%, 60%)
HSVhsv(292, 60%, 86%)
CMYKcmyk(8.2%, 60.5%, 0%, 13.7%)
CIE-LABlab(56.63, 63.77, -47.63)
CIE-LCHlch(56.63, 79.59, 323.24°)
OKLaboklab(65.33% 0.1698 -0.1325)
OKLCHoklch(65.33% 0.215 322)
XYZxyz(40.6822, 24.5423, 70.2905)
Luminance0.2454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57DC #69DC57
analogous
#8857DC #CA57DC #DC57AB
triadic
#CA57DC #DCCA57 #57DCCA
tetradic
#CA57DC #DC8857 #69DC57 #57ABDC
square
#CA57DC #DC8857 #69DC57 #57ABDC
split-complementary
#CA57DC #ABDC57 #57DC88
monochromatic
#882099 #B62ACB #CA57DC #DA8AE7 #EABCF1

Accessibility & contrast

On white

3.55
#CA57DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#CA57DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA57DC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA57DC#FFFFFF#000000##000000
##CA57DC1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7FE0
Deuteranopia (green-blind)
#678CD9
Tritanopia (blue-blind)
#CC6B92
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca57dc;
/* rgb */ color: rgb(202, 87, 220);
/* oklch */ color: oklch(65.3% 0.215 322.0);
Tailwind
colors: {
  custom: {
    50: '#dd8de7',
    500: '#ca57dc',
    950: '#000000',
  },
}
SCSS
$custom: #ca57dc;
$custom-light: #dd8de7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57dc",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 291.88,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65331,
    "c": 0.21537,
    "h": 322
  },
  "luminance": 0.2454
}

Semantic roles & 50–950 ramp

primary
#CA57DC
secondary
#B5E1AE
accent
#CD1831
background
#FDF9FE
surface
#FBF1FC
border
#D4CBD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #CA57DC

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

Preview Lab → · Contrast checker → · Palette generator →

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