#CA57EE#CA57EE

#CA57EE is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.4% C 0.232 H 317.2°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#CA57EE
RGBrgb(202, 87, 238)
HSLhsl(286, 82%, 64%)
HSVhsv(286, 63%, 93%)
CMYKcmyk(15.1%, 63.4%, 0%, 6.7%)
CIE-LABlab(57.61, 67.15, -56.18)
CIE-LCHlch(57.61, 87.56, 320.08°)
OKLaboklab(66.36% 0.17 -0.1574)
OKLCHoklch(66.36% 0.232 317.2)
XYZxyz(43.1957, 25.5477, 83.5282)
Luminance0.2555 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57EE #7BEE57
analogous
#7E57EE #CA57EE #EE57C7
triadic
#CA57EE #EECA57 #57EECA
tetradic
#CA57EE #EE7E57 #7BEE57 #57C7EE
square
#CA57EE #EE7E57 #7BEE57 #57C7EE
split-complementary
#CA57EE #C7EE57 #57EE7E
monochromatic
#9113B8 #B81FE8 #CA57EE #DC8FF4 #EDC6F9

Accessibility & contrast

On white

3.44
#CA57EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#CA57EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA57EE
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA57EE#FFFFFF#000000##000000
##CA57EE1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2183F3
Deuteranopia (green-blind)
#5B8EEA
Tritanopia (blue-blind)
#C9729B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ca57ee;
/* rgb */ color: rgb(202, 87, 238);
/* oklch */ color: oklch(66.4% 0.232 317.2);
Tailwind
colors: {
  custom: {
    50: '#de8df4',
    500: '#ca57ee',
    950: '#000000',
  },
}
SCSS
$custom: #ca57ee;
$custom-light: #de8df4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57ee",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 285.695,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66355,
    "c": 0.2317,
    "h": 317.2
  },
  "luminance": 0.25546
}

Semantic roles & 50–950 ramp

primary
#CA57EE
secondary
#C2EBB6
accent
#DE083B
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA57EE

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

Preview Lab → · Contrast checker → · Palette generator →

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