#CA57E7#CA57E7

#CA57E7 is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 65.9% C 0.225 H 319.0°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#CA57E7
RGBrgb(202, 87, 231)
HSLhsl(288, 75%, 62%)
HSVhsv(288, 62%, 91%)
CMYKcmyk(12.6%, 62.3%, 0%, 9.4%)
CIE-LABlab(57.22, 65.82, -52.89)
CIE-LCHlch(57.22, 84.43, 321.22°)
OKLaboklab(65.95% 0.1701 -0.1478)
OKLCHoklch(65.95% 0.225 319)
XYZxyz(42.1872, 25.1443, 78.2169)
Luminance0.2514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57E7 #74E757
analogous
#8257E7 #CA57E7 #E757BC
triadic
#CA57E7 #E7CA57 #57E7CA
tetradic
#CA57E7 #E78257 #74E757 #57BCE7
square
#CA57E7 #E78257 #74E757 #57BCE7
split-complementary
#CA57E7 #BCE757 #57E782
monochromatic
#8E18AB #B921DF #CA57E7 #DB8DEF #ECC2F6

Accessibility & contrast

On white

3.48
#CA57E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#CA57E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA57E7
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA57E7#FFFFFF#000000##000000
##CA57E71.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D82EB
Deuteranopia (green-blind)
#608DE3
Tritanopia (blue-blind)
#CA6F97
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ca57e7;
/* rgb */ color: rgb(202, 87, 231);
/* oklch */ color: oklch(65.9% 0.225 319.0);
Tailwind
colors: {
  custom: {
    50: '#dd8def',
    500: '#ca57e7',
    950: '#000000',
  },
}
SCSS
$custom: #ca57e7;
$custom-light: #dd8def;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57e7",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 287.917,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65948,
    "c": 0.2253,
    "h": 319
  },
  "luminance": 0.25142
}

Semantic roles & 50–950 ramp

primary
#CA57E7
secondary
#BDE7B3
accent
#D70E37
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CA57E7

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

Preview Lab → · Contrast checker → · Palette generator →

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