#CA57ED#CA57ED

#CA57ED is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.3% C 0.231 H 317.5°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#CA57ED
RGBrgb(202, 87, 237)
HSLhsl(286, 81%, 64%)
HSVhsv(286, 63%, 93%)
CMYKcmyk(14.8%, 63.3%, 0%, 7.1%)
CIE-LABlab(57.55, 66.96, -55.71)
CIE-LCHlch(57.55, 87.11, 320.24°)
OKLaboklab(66.3% 0.17 -0.156)
OKLCHoklch(66.3% 0.231 317.5)
XYZxyz(43.0492, 25.4891, 82.7566)
Luminance0.2549 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57ED #7AED57
analogous
#7F57ED #CA57ED #ED57C5
triadic
#CA57ED #EDCA57 #57EDCA
tetradic
#CA57ED #ED7F57 #7AED57 #57C5ED
square
#CA57ED #ED7F57 #7AED57 #57C5ED
split-complementary
#CA57ED #C5ED57 #57ED7F
monochromatic
#9014B6 #B920E7 #CA57ED #DB8EF3 #EDC6F9

Accessibility & contrast

On white

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

On black

6.10
#CA57ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA57ED
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA57ED#FFFFFF#000000##000000
##CA57ED1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2383F2
Deuteranopia (green-blind)
#5C8EE9
Tritanopia (blue-blind)
#C9729B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ca57ed;
/* rgb */ color: rgb(202, 87, 237);
/* oklch */ color: oklch(66.3% 0.231 317.5);
Tailwind
colors: {
  custom: {
    50: '#de8df3',
    500: '#ca57ed',
    950: '#000000',
  },
}
SCSS
$custom: #ca57ed;
$custom-light: #de8df3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57ed",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 237
  },
  "hsl": {
    "h": 286,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66296,
    "c": 0.23078,
    "h": 317.5
  },
  "luminance": 0.25487
}

Semantic roles & 50–950 ramp

primary
#CA57ED
secondary
#C2EAB5
accent
#DD093A
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA57ED

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

Preview Lab → · Contrast checker → · Palette generator →

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