#CA57C2#CA57C2

#CA57C2 is a light, vivid purple. Relative luminance 0.233; OKLCH L 64.0% C 0.193 H 330.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#CA57C2
RGBrgb(202, 87, 194)
HSLhsl(304, 52%, 57%)
HSVhsv(304, 57%, 79%)
CMYKcmyk(0%, 56.9%, 4%, 20.8%)
CIE-LABlab(55.35, 59.19, -34.85)
CIE-LCHlch(55.35, 68.68, 329.51°)
OKLaboklab(63.98% 0.1676 -0.0955)
OKLCHoklch(63.98% 0.193 330.3)
XYZxyz(37.5027, 23.2705, 53.5448)
Luminance0.2327 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57C2 #57CA5F
analogous
#9957CA #CA57C2 #CA5789
triadic
#CA57C2 #C2CA57 #57C2CA
tetradic
#CA57C2 #CA9957 #57CA5F #5789CA
square
#CA57C2 #CA9957 #57CA5F #5789CA
split-complementary
#CA57C2 #89CA57 #57CA99
monochromatic
#7F2879 #AD37A5 #CA57C2 #D986D3 #E7B4E4

Accessibility & contrast

On white

3.71
#CA57C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#CA57C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA57C2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA57C2#FFFFFF#000000##000000
##CA57C21.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#507AC5
Deuteranopia (green-blind)
#748ABF
Tritanopia (blue-blind)
#D16284
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca57c2;
/* rgb */ color: rgb(202, 87, 194);
/* oklch */ color: oklch(64.0% 0.193 330.3);
Tailwind
colors: {
  custom: {
    50: '#dd8cd5',
    500: '#ca57c2',
    950: '#000000',
  },
}
SCSS
$custom: #ca57c2;
$custom-light: #dd8cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57c2",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 194
  },
  "hsl": {
    "h": 304.174,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63984,
    "c": 0.1929,
    "h": 330.3
  },
  "luminance": 0.23268
}

Semantic roles & 50–950 ramp

primary
#CA57C2
secondary
#A7D6AA
accent
#DB564C
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150D14
muted
#837D83

Preview Lab

Preview with #CA57C2

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

Preview Lab → · Contrast checker → · Palette generator →

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