#CA57F1#CA57F1

#CA57F1 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.5% C 0.234 H 316.5°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#CA57F1
RGBrgb(202, 87, 241)
HSLhsl(285, 85%, 64%)
HSVhsv(285, 64%, 95%)
CMYKcmyk(16.2%, 63.9%, 0%, 5.5%)
CIE-LABlab(57.78, 67.73, -57.58)
CIE-LCHlch(57.78, 88.90, 319.63°)
OKLaboklab(66.53% 0.17 -0.1615)
OKLCHoklch(66.53% 0.234 316.5)
XYZxyz(43.6401, 25.7255, 85.8688)
Luminance0.2572 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57F1 #7EF157
analogous
#7D57F1 #CA57F1 #F157CB
triadic
#CA57F1 #F1CA57 #57F1CA
tetradic
#CA57F1 #F17D57 #7EF157 #57CBF1
square
#CA57F1 #F17D57 #7EF157 #57CBF1
split-complementary
#CA57F1 #CBF157 #57F17D
monochromatic
#9210BE #B81FEC #CA57F1 #DC8FF6 #EEC8FA

Accessibility & contrast

On white

3.42
#CA57F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#CA57F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA57F1
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA57F1#FFFFFF#000000##000000
##CA57F11.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A84F6
Deuteranopia (green-blind)
#588EED
Tritanopia (blue-blind)
#C8739D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ca57f1;
/* rgb */ color: rgb(202, 87, 241);
/* oklch */ color: oklch(66.5% 0.234 316.5);
Tailwind
colors: {
  custom: {
    50: '#de8ef6',
    500: '#ca57f1',
    950: '#000000',
  },
}
SCSS
$custom: #ca57f1;
$custom-light: #de8ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57f1",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 241
  },
  "hsl": {
    "h": 284.805,
    "s": 84.615,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66533,
    "c": 0.23445,
    "h": 316.5
  },
  "luminance": 0.25724
}

Semantic roles & 50–950 ramp

primary
#CA57F1
secondary
#C5EDB7
accent
#E1043C
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA57F1

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

Preview Lab → · Contrast checker → · Palette generator →

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