#CA52DE#CA52DE

#CA52DE is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.9% C 0.224 H 321.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#CA52DE
RGBrgb(202, 82, 222)
HSLhsl(291, 68%, 60%)
HSVhsv(291, 63%, 87%)
CMYKcmyk(9%, 63.1%, 0%, 12.9%)
CIE-LABlab(55.95, 66.28, -49.83)
CIE-LCHlch(55.95, 82.92, 323.06°)
OKLaboklab(64.88% 0.1757 -0.1388)
OKLCHoklch(64.88% 0.224 321.7)
XYZxyz(40.5578, 23.8671, 71.5636)
Luminance0.2387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52DE #66DE52
analogous
#8452DE #CA52DE #DE52AC
triadic
#CA52DE #DECA52 #52DECA
tetradic
#CA52DE #DE8452 #66DE52 #52ACDE
square
#CA52DE #DE8452 #66DE52 #52ACDE
split-complementary
#CA52DE #ACDE52 #52DE84
monochromatic
#871D99 #B427CC #CA52DE #DA85E8 #E9B9F2

Accessibility & contrast

On white

3.64
#CA52DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#CA52DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52DE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52DE#FFFFFF#000000##000000
##CA52DE1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#307DE2
Deuteranopia (green-blind)
#628BDA
Tritanopia (blue-blind)
#CC6991
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca52de;
/* rgb */ color: rgb(202, 82, 222);
/* oklch */ color: oklch(64.9% 0.224 321.7);
Tailwind
colors: {
  custom: {
    50: '#dd8ae9',
    500: '#ca52de',
    950: '#000000',
  },
}
SCSS
$custom: #ca52de;
$custom-light: #dd8ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52de",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 291.429,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64878,
    "c": 0.22391,
    "h": 321.7
  },
  "luminance": 0.23865
}

Semantic roles & 50–950 ramp

primary
#CA52DE
secondary
#B2E1AB
accent
#EB3D56
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CA52DE

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

Preview Lab → · Contrast checker → · Palette generator →

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