#CA57F3#CA57F3

#CA57F3 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.7% C 0.236 H 316.0°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#CA57F3
RGBrgb(202, 87, 243)
HSLhsl(284, 87%, 65%)
HSVhsv(284, 64%, 95%)
CMYKcmyk(16.9%, 64.2%, 0%, 4.7%)
CIE-LABlab(57.89, 68.12, -58.51)
CIE-LCHlch(57.89, 89.80, 319.34°)
OKLaboklab(66.65% 0.1699 -0.1642)
OKLCHoklch(66.65% 0.236 316)
XYZxyz(43.9405, 25.8456, 87.4507)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57F3 #80F357
analogous
#7C57F3 #CA57F3 #F357CE
triadic
#CA57F3 #F3CA57 #57F3CA
tetradic
#CA57F3 #F37C57 #80F357 #57CEF3
square
#CA57F3 #F37C57 #80F357 #57CEF3
split-complementary
#CA57F3 #CEF357 #57F37C
monochromatic
#920EC2 #B81EEF #CA57F3 #DC90F7 #EEC9FB

Accessibility & contrast

On white

3.40
#CA57F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#CA57F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA57F3
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA57F3#FFFFFF#000000##000000
##CA57F31.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1384F8
Deuteranopia (green-blind)
#578EEF
Tritanopia (blue-blind)
#C7749E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ca57f3;
/* rgb */ color: rgb(202, 87, 243);
/* oklch */ color: oklch(66.7% 0.236 316.0);
Tailwind
colors: {
  custom: {
    50: '#de8ef8',
    500: '#ca57f3',
    950: '#000000',
  },
}
SCSS
$custom: #ca57f3;
$custom-light: #de8ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57f3",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 243
  },
  "hsl": {
    "h": 284.231,
    "s": 86.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.66652,
    "c": 0.2363,
    "h": 316
  },
  "luminance": 0.25844
}

Semantic roles & 50–950 ramp

primary
#CA57F3
secondary
#C6EEB8
accent
#E3023D
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA57F3

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

Preview Lab → · Contrast checker → · Palette generator →

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