#CA57CA#CA57CA

#CA57CA is a light, vivid purple. Relative luminance 0.236; OKLCH L 64.4% C 0.200 H 327.6°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#CA57CA
RGBrgb(202, 87, 202)
HSLhsl(300, 52%, 57%)
HSVhsv(300, 57%, 79%)
CMYKcmyk(0%, 56.9%, 0%, 20.8%)
CIE-LABlab(55.73, 60.55, -38.84)
CIE-LCHlch(55.73, 71.94, 327.32°)
OKLaboklab(64.38% 0.1685 -0.107)
OKLCHoklch(64.38% 0.2 327.6)
XYZxyz(38.4254, 23.6396, 58.4046)
Luminance0.2364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57CA #57CA57
analogous
#9157CA #CA57CA #CA5791
triadic
#CA57CA #CACA57 #57CACA
tetradic
#CA57CA #CA9157 #57CA57 #5791CA
square
#CA57CA #CA9157 #57CA57 #5791CA
split-complementary
#CA57CA #91CA57 #57CA91
monochromatic
#7F287F #AD37AD #CA57CA #D986D9 #E7B4E7

Accessibility & contrast

On white

3.67
#CA57CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#CA57CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA57CA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA57CA#FFFFFF#000000##000000
##CA57CA1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CCE
Deuteranopia (green-blind)
#718BC7
Tritanopia (blue-blind)
#D06589
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca57ca;
/* rgb */ color: rgb(202, 87, 202);
/* oklch */ color: oklch(64.4% 0.200 327.6);
Tailwind
colors: {
  custom: {
    50: '#dd8dda',
    500: '#ca57ca',
    950: '#000000',
  },
}
SCSS
$custom: #ca57ca;
$custom-light: #dd8dda;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57ca",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 300,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64381,
    "c": 0.19962,
    "h": 327.6
  },
  "luminance": 0.23637
}

Semantic roles & 50–950 ramp

primary
#CA57CA
secondary
#A7D6A7
accent
#DB4C4C
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150D15
muted
#837D83

Preview Lab

Preview with #CA57CA

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

Preview Lab → · Contrast checker → · Palette generator →

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