#CA57E2#CA57E2

#CA57E2 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.7% C 0.221 H 320.4°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#CA57E2
RGBrgb(202, 87, 226)
HSLhsl(290, 71%, 61%)
HSVhsv(290, 62%, 89%)
CMYKcmyk(10.6%, 61.5%, 0%, 11.4%)
CIE-LABlab(56.94, 64.88, -50.51)
CIE-LCHlch(56.94, 82.22, 322.10°)
OKLaboklab(65.66% 0.17 -0.1408)
OKLCHoklch(65.66% 0.221 320.4)
XYZxyz(41.4911, 24.8659, 74.5508)
Luminance0.2486 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57E2 #6FE257
analogous
#8557E2 #CA57E2 #E257B5
triadic
#CA57E2 #E2CA57 #57E2CA
tetradic
#CA57E2 #E28557 #6FE257 #57B5E2
square
#CA57E2 #E28557 #6FE257 #57B5E2
split-complementary
#CA57E2 #B5E257 #57E285
monochromatic
#8B1CA3 #B825D7 #CA57E2 #DA8BEB #EBBFF4

Accessibility & contrast

On white

3.52
#CA57E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#CA57E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA57E2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA57E2#FFFFFF#000000##000000
##CA57E21.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3481E6
Deuteranopia (green-blind)
#638DDE
Tritanopia (blue-blind)
#CB6E95
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ca57e2;
/* rgb */ color: rgb(202, 87, 226);
/* oklch */ color: oklch(65.7% 0.221 320.4);
Tailwind
colors: {
  custom: {
    50: '#dd8dec',
    500: '#ca57e2',
    950: '#000000',
  },
}
SCSS
$custom: #ca57e2;
$custom-light: #dd8dec;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57e2",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 226
  },
  "hsl": {
    "h": 289.64,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65664,
    "c": 0.22076,
    "h": 320.4
  },
  "luminance": 0.24864
}

Semantic roles & 50–950 ramp

primary
#CA57E2
secondary
#B9E4B0
accent
#D31334
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CA57E2

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

Preview Lab → · Contrast checker → · Palette generator →

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