#CA57EA#CA57EA

#CA57EA is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.1% C 0.228 H 318.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#CA57EA
RGBrgb(202, 87, 234)
HSLhsl(287, 78%, 63%)
HSVhsv(287, 63%, 92%)
CMYKcmyk(13.7%, 62.8%, 0%, 8.2%)
CIE-LABlab(57.38, 66.39, -54.30)
CIE-LCHlch(57.38, 85.77, 320.72°)
OKLaboklab(66.12% 0.1701 -0.1519)
OKLCHoklch(66.12% 0.228 318.2)
XYZxyz(42.6146, 25.3153, 80.4676)
Luminance0.2531 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57EA #77EA57
analogous
#8057EA #CA57EA #EA57C0
triadic
#CA57EA #EACA57 #57EACA
tetradic
#CA57EA #EA8057 #77EA57 #57C0EA
square
#CA57EA #EA8057 #77EA57 #57C0EA
split-complementary
#CA57EA #C0EA57 #57EA80
monochromatic
#8F16B1 #B921E3 #CA57EA #DB8DF1 #ECC4F8

Accessibility & contrast

On white

3.46
#CA57EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#CA57EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA57EA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA57EA#FFFFFF#000000##000000
##CA57EA1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2982EE
Deuteranopia (green-blind)
#5E8EE6
Tritanopia (blue-blind)
#C97199
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ca57ea;
/* rgb */ color: rgb(202, 87, 234);
/* oklch */ color: oklch(66.1% 0.228 318.2);
Tailwind
colors: {
  custom: {
    50: '#de8df1',
    500: '#ca57ea',
    950: '#000000',
  },
}
SCSS
$custom: #ca57ea;
$custom-light: #de8df1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57ea",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 286.939,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66121,
    "c": 0.22804,
    "h": 318.2
  },
  "luminance": 0.25313
}

Semantic roles & 50–950 ramp

primary
#CA57EA
secondary
#BFE9B4
accent
#DA0B38
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA57EA

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

Preview Lab → · Contrast checker → · Palette generator →

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