#CA57FE#CA57FE

#CA57FE is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.3% C 0.246 H 313.4°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#CA57FE
RGBrgb(202, 87, 254)
HSLhsl(281, 99%, 67%)
HSVhsv(281, 66%, 100%)
CMYKcmyk(20.5%, 65.7%, 0%, 0.4%)
CIE-LABlab(58.54, 70.29, -63.57)
CIE-LCHlch(58.54, 94.78, 317.87°)
OKLaboklab(67.33% 0.1694 -0.179)
OKLCHoklch(67.33% 0.246 313.4)
XYZxyz(45.6516, 26.5301, 96.4627)
Luminance0.2653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57FE #8BFE57
analogous
#7657FE #CA57FE #FE57DF
triadic
#CA57FE #FECA57 #57FECA
tetradic
#CA57FE #FE7657 #8BFE57 #57DFFE
square
#CA57FE #FE7657 #8BFE57 #57DFFE
split-complementary
#CA57FE #DFFE57 #57FE76
monochromatic
#9601D9 #B71AFE #CA57FE #DD94FE #F0D1FF

Accessibility & contrast

On white

3.33
#CA57FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#CA57FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA57FE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA57FE#FFFFFF#000000##000000
##CA57FE1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#4C8FFA
Tritanopia (blue-blind)
#C578A4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ca57fe;
/* rgb */ color: rgb(202, 87, 254);
/* oklch */ color: oklch(67.3% 0.246 313.4);
Tailwind
colors: {
  custom: {
    50: '#de8eff',
    500: '#ca57fe',
    950: '#000000',
  },
}
SCSS
$custom: #ca57fe;
$custom-light: #de8eff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57fe",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 254
  },
  "hsl": {
    "h": 281.317,
    "s": 98.817,
    "l": 66.863
  },
  "oklch": {
    "l": 0.67325,
    "c": 0.24649,
    "h": 313.4
  },
  "luminance": 0.26529
}

Semantic roles & 50–950 ramp

primary
#CA57FE
secondary
#CEF3BE
accent
#E60047
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CA57FE

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

Preview Lab → · Contrast checker → · Palette generator →

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