#CA57FD#CA57FD

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

Color values

HEX#CA57FD
RGBrgb(202, 87, 253)
HSLhsl(282, 98%, 67%)
HSVhsv(282, 66%, 99%)
CMYKcmyk(20.2%, 65.6%, 0%, 0.8%)
CIE-LABlab(58.48, 70.09, -63.12)
CIE-LCHlch(58.48, 94.32, 318.00°)
OKLaboklab(67.26% 0.1695 -0.1777)
OKLCHoklch(67.26% 0.246 313.6)
XYZxyz(45.4919, 26.4662, 95.6216)
Luminance0.2646 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57FD #8AFD57
analogous
#7757FD #CA57FD #FD57DD
triadic
#CA57FD #FDCA57 #57FDCA
tetradic
#CA57FD #FD7757 #8AFD57 #57DDFD
square
#CA57FD #FD7757 #8AFD57 #57DDFD
split-complementary
#CA57FD #DDFD57 #57FD77
monochromatic
#9603D7 #B71BFC #CA57FD #DD93FE #F0D0FE

Accessibility & contrast

On white

3.34
#CA57FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#CA57FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA57FD
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA57FD#FFFFFF#000000##000000
##CA57FD1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#4D8FF9
Tritanopia (blue-blind)
#C578A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ca57fd;
/* rgb */ color: rgb(202, 87, 253);
/* oklch */ color: oklch(67.3% 0.246 313.6);
Tailwind
colors: {
  custom: {
    50: '#de8eff',
    500: '#ca57fd',
    950: '#000000',
  },
}
SCSS
$custom: #ca57fd;
$custom-light: #de8eff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57fd",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 253
  },
  "hsl": {
    "h": 281.566,
    "s": 97.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67262,
    "c": 0.24556,
    "h": 313.6
  },
  "luminance": 0.26465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA57FD

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

Preview Lab → · Contrast checker → · Palette generator →

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