#CA57EF#CA57EF

#CA57EF is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.4% C 0.233 H 317.0°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#CA57EF
RGBrgb(202, 87, 239)
HSLhsl(285, 83%, 64%)
HSVhsv(285, 64%, 94%)
CMYKcmyk(15.5%, 63.6%, 0%, 6.3%)
CIE-LABlab(57.66, 67.35, -56.65)
CIE-LCHlch(57.66, 88.00, 319.93°)
OKLaboklab(66.41% 0.17 -0.1588)
OKLCHoklch(66.41% 0.233 317)
XYZxyz(43.3430, 25.6066, 84.3041)
Luminance0.2560 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57EF #7CEF57
analogous
#7E57EF #CA57EF #EF57C8
triadic
#CA57EF #EFCA57 #57EFCA
tetradic
#CA57EF #EF7E57 #7CEF57 #57C8EF
square
#CA57EF #EF7E57 #7CEF57 #57C8EF
split-complementary
#CA57EF #C8EF57 #57EF7E
monochromatic
#9112BA #B81FEA #CA57EF #DC8FF4 #EDC7FA

Accessibility & contrast

On white

3.43
#CA57EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#CA57EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA57EF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA57EF#FFFFFF#000000##000000
##CA57EF1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F83F4
Deuteranopia (green-blind)
#5A8EEB
Tritanopia (blue-blind)
#C8729C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ca57ef;
/* rgb */ color: rgb(202, 87, 239);
/* oklch */ color: oklch(66.4% 0.233 317.0);
Tailwind
colors: {
  custom: {
    50: '#de8df5',
    500: '#ca57ef',
    950: '#000000',
  },
}
SCSS
$custom: #ca57ef;
$custom-light: #de8df5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57ef",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 285.395,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66414,
    "c": 0.23262,
    "h": 317
  },
  "luminance": 0.25605
}

Semantic roles & 50–950 ramp

primary
#CA57EF
secondary
#C3ECB6
accent
#DF063B
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA57EF

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

Preview Lab → · Contrast checker → · Palette generator →

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