#CA57DF#CA57DF

#CA57DF is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.5% C 0.218 H 321.2°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#CA57DF
RGBrgb(202, 87, 223)
HSLhsl(291, 68%, 61%)
HSVhsv(291, 61%, 87%)
CMYKcmyk(9.4%, 61%, 0%, 12.5%)
CIE-LABlab(56.78, 64.32, -49.08)
CIE-LCHlch(56.78, 80.90, 322.66°)
OKLaboklab(65.5% 0.1699 -0.1367)
OKLCHoklch(65.5% 0.218 321.2)
XYZxyz(41.0831, 24.7027, 72.4018)
Luminance0.2470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA57DF #6CDF57
analogous
#8657DF #CA57DF #DF57B0
triadic
#CA57DF #DFCA57 #57DFCA
tetradic
#CA57DF #DF8657 #6CDF57 #57B0DF
square
#CA57DF #DF8657 #6CDF57 #57B0DF
split-complementary
#CA57DF #B0DF57 #57DF86
monochromatic
#8A1E9E #B728D1 #CA57DF #DA8AE9 #EABEF3

Accessibility & contrast

On white

3.54
#CA57DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#CA57DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA57DF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA57DF#FFFFFF#000000##000000
##CA57DF1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3880E3
Deuteranopia (green-blind)
#658DDC
Tritanopia (blue-blind)
#CC6C93
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca57df;
/* rgb */ color: rgb(202, 87, 223);
/* oklch */ color: oklch(65.5% 0.218 321.2);
Tailwind
colors: {
  custom: {
    50: '#dd8de9',
    500: '#ca57df',
    950: '#000000',
  },
}
SCSS
$custom: #ca57df;
$custom-light: #dd8de9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca57df",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 290.735,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65496,
    "c": 0.21806,
    "h": 321.2
  },
  "luminance": 0.24701
}

Semantic roles & 50–950 ramp

primary
#CA57DF
secondary
#B7E3AF
accent
#D01632
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CA57DF

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

Preview Lab → · Contrast checker → · Palette generator →

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