#CA57F2#CA57F2

#CA57F2 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.6% C 0.235 H 316.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#CA57F2
RGBrgb(202, 87, 242)
HSLhsl(285, 86%, 65%)
HSVhsv(285, 64%, 95%)
CMYKcmyk(16.5%, 64%, 0%, 5.1%)
CIE-LABlab(57.83, 67.93, -58.05)
CIE-LCHlch(57.83, 89.35, 319.49°)
OKLaboklab(66.59% 0.1699 -0.1629)
OKLCHoklch(66.59% 0.235 316.2)
XYZxyz(43.7899, 25.7854, 86.6576)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57F2 #7FF257
analogous
#7D57F2 #CA57F2 #F257CD
triadic
#CA57F2 #F2CA57 #57F2CA
tetradic
#CA57F2 #F27D57 #7FF257 #57CDF2
square
#CA57F2 #F27D57 #7FF257 #57CDF2
split-complementary
#CA57F2 #CDF257 #57F27D
monochromatic
#920FC0 #B81EEE #CA57F2 #DC90F6 #EEC9FB

Accessibility & contrast

On white

3.41
#CA57F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#CA57F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA57F2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA57F2#FFFFFF#000000##000000
##CA57F21.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1784F7
Deuteranopia (green-blind)
#588EEE
Tritanopia (blue-blind)
#C8749D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ca57f2;
/* rgb */ color: rgb(202, 87, 242);
/* oklch */ color: oklch(66.6% 0.235 316.2);
Tailwind
colors: {
  custom: {
    50: '#de8ef7',
    500: '#ca57f2',
    950: '#000000',
  },
}
SCSS
$custom: #ca57f2;
$custom-light: #de8ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57f2",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 284.516,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66592,
    "c": 0.23538,
    "h": 316.2
  },
  "luminance": 0.25784
}

Semantic roles & 50–950 ramp

primary
#CA57F2
secondary
#C5EDB8
accent
#E2033D
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA57F2

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

Preview Lab → · Contrast checker → · Palette generator →

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