#CA57C8#CA57C8

#CA57C8 is a light, vivid purple. Relative luminance 0.235; OKLCH L 64.3% C 0.198 H 328.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#CA57C8
RGBrgb(202, 87, 200)
HSLhsl(301, 52%, 57%)
HSVhsv(301, 57%, 79%)
CMYKcmyk(0%, 56.9%, 1%, 20.8%)
CIE-LABlab(55.63, 60.21, -37.85)
CIE-LCHlch(55.63, 71.11, 327.85°)
OKLaboklab(64.28% 0.1683 -0.1041)
OKLCHoklch(64.28% 0.198 328.3)
XYZxyz(38.1901, 23.5455, 57.1656)
Luminance0.2354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57C8 #57CA59
analogous
#9257CA #CA57C8 #CA578F
triadic
#CA57C8 #C8CA57 #57C8CA
tetradic
#CA57C8 #CA9257 #57CA59 #578FCA
square
#CA57C8 #CA9257 #57CA59 #578FCA
split-complementary
#CA57C8 #8FCA57 #57CA92
monochromatic
#7F287D #AD37AB #CA57C8 #D986D7 #E7B4E6

Accessibility & contrast

On white

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

On black

5.71
#CA57C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA57C8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA57C8#FFFFFF#000000##000000
##CA57C81.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca57c8;
/* rgb */ color: rgb(202, 87, 200);
/* oklch */ color: oklch(64.3% 0.198 328.3);
Tailwind
colors: {
  custom: {
    50: '#dd8cd9',
    500: '#ca57c8',
    950: '#000000',
  },
}
SCSS
$custom: #ca57c8;
$custom-light: #dd8cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57c8",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 301.043,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6428,
    "c": 0.19792,
    "h": 328.3
  },
  "luminance": 0.23543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA57C8

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

Preview Lab → · Contrast checker → · Palette generator →

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