#CA57C7#CA57C7

#CA57C7 is a light, vivid purple. Relative luminance 0.235; OKLCH L 64.2% C 0.197 H 328.6°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#CA57C7
RGBrgb(202, 87, 199)
HSLhsl(302, 52%, 57%)
HSVhsv(302, 57%, 79%)
CMYKcmyk(0%, 56.9%, 1.5%, 20.8%)
CIE-LABlab(55.58, 60.03, -37.35)
CIE-LCHlch(55.58, 70.70, 328.11°)
OKLaboklab(64.23% 0.1682 -0.1027)
OKLCHoklch(64.23% 0.197 328.6)
XYZxyz(38.0737, 23.4989, 56.5521)
Luminance0.2350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57C7 #57CA5A
analogous
#9457CA #CA57C7 #CA578E
triadic
#CA57C7 #C7CA57 #57C7CA
tetradic
#CA57C7 #CA9457 #57CA5A #578ECA
square
#CA57C7 #CA9457 #57CA5A #578ECA
split-complementary
#CA57C7 #8ECA57 #57CA94
monochromatic
#7F287C #AD37AA #CA57C7 #D986D7 #E7B4E6

Accessibility & contrast

On white

3.68
#CA57C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#CA57C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA57C7
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA57C7#FFFFFF#000000##000000
##CA57C71.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7BCB
Deuteranopia (green-blind)
#728BC4
Tritanopia (blue-blind)
#D06487
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca57c7;
/* rgb */ color: rgb(202, 87, 199);
/* oklch */ color: oklch(64.2% 0.197 328.6);
Tailwind
colors: {
  custom: {
    50: '#dd8cd8',
    500: '#ca57c7',
    950: '#000000',
  },
}
SCSS
$custom: #ca57c7;
$custom-light: #dd8cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57c7",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 199
  },
  "hsl": {
    "h": 301.565,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6423,
    "c": 0.19708,
    "h": 328.6
  },
  "luminance": 0.23496
}

Semantic roles & 50–950 ramp

primary
#CA57C7
secondary
#A7D6A8
accent
#DB504C
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150D14
muted
#837D83

Preview Lab

Preview with #CA57C7

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

Preview Lab → · Contrast checker → · Palette generator →

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