#CA57EB#CA57EB

#CA57EB is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.2% C 0.229 H 318.0°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#CA57EB
RGBrgb(202, 87, 235)
HSLhsl(287, 79%, 63%)
HSVhsv(287, 63%, 92%)
CMYKcmyk(14%, 63%, 0%, 7.8%)
CIE-LABlab(57.44, 66.58, -54.77)
CIE-LCHlch(57.44, 86.21, 320.56°)
OKLaboklab(66.18% 0.1701 -0.1533)
OKLCHoklch(66.18% 0.229 318)
XYZxyz(42.7586, 25.3729, 81.2263)
Luminance0.2537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57EB #78EB57
analogous
#8057EB #CA57EB #EB57C2
triadic
#CA57EB #EBCA57 #57EBCA
tetradic
#CA57EB #EB8057 #78EB57 #57C2EB
square
#CA57EB #EB8057 #78EB57 #57C2EB
split-complementary
#CA57EB #C2EB57 #57EB80
monochromatic
#8F15B2 #B920E4 #CA57EB #DB8EF2 #EDC4F8

Accessibility & contrast

On white

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

On black

6.07
#CA57EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA57EB
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA57EB#FFFFFF#000000##000000
##CA57EB1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2782EF
Deuteranopia (green-blind)
#5D8EE7
Tritanopia (blue-blind)
#C9719A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ca57eb;
/* rgb */ color: rgb(202, 87, 235);
/* oklch */ color: oklch(66.2% 0.229 318.0);
Tailwind
colors: {
  custom: {
    50: '#de8df2',
    500: '#ca57eb',
    950: '#000000',
  },
}
SCSS
$custom: #ca57eb;
$custom-light: #de8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57eb",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 286.622,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66179,
    "c": 0.22895,
    "h": 318
  },
  "luminance": 0.25371
}

Semantic roles & 50–950 ramp

primary
#CA57EB
secondary
#C0E9B4
accent
#DB0A39
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA57EB

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

Preview Lab → · Contrast checker → · Palette generator →

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