#CA57D2#CA57D2

#CA57D2 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 64.8% C 0.207 H 325.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#CA57D2
RGBrgb(202, 87, 210)
HSLhsl(296, 58%, 58%)
HSVhsv(296, 59%, 82%)
CMYKcmyk(3.8%, 58.6%, 0%, 17.6%)
CIE-LABlab(56.12, 61.96, -42.78)
CIE-LCHlch(56.12, 75.29, 325.38°)
OKLaboklab(64.79% 0.1692 -0.1184)
OKLCHoklch(64.79% 0.207 325)
XYZxyz(39.3972, 24.0283, 63.5231)
Luminance0.2403 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57D2 #5FD257
analogous
#8D57D2 #CA57D2 #D2579C
triadic
#CA57D2 #D2CA57 #57D2CA
tetradic
#CA57D2 #D28D57 #5FD257 #579CD2
square
#CA57D2 #D28D57 #5FD257 #579CD2
split-complementary
#CA57D2 #9CD257 #57D28D
monochromatic
#83258A #B132BA #CA57D2 #D987DF #E8B8EC

Accessibility & contrast

On white

3.62
#CA57D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#CA57D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA57D2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA57D2#FFFFFF#000000##000000
##CA57D21.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#447DD6
Deuteranopia (green-blind)
#6D8BCF
Tritanopia (blue-blind)
#CE688D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca57d2;
/* rgb */ color: rgb(202, 87, 210);
/* oklch */ color: oklch(64.8% 0.207 325.0);
Tailwind
colors: {
  custom: {
    50: '#dd8de0',
    500: '#ca57d2',
    950: '#000000',
  },
}
SCSS
$custom: #ca57d2;
$custom-light: #dd8de0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57d2",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 210
  },
  "hsl": {
    "h": 296.098,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64794,
    "c": 0.20653,
    "h": 325
  },
  "luminance": 0.24026
}

Semantic roles & 50–950 ramp

primary
#CA57D2
secondary
#ADDBAA
accent
#E14751
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CA57D2

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

Preview Lab → · Contrast checker → · Palette generator →

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