#CA52D4#CA52D4

#CA52D4 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.3% C 0.215 H 324.6°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#CA52D4
RGBrgb(202, 82, 212)
HSLhsl(295, 60%, 58%)
HSVhsv(295, 61%, 83%)
CMYKcmyk(4.7%, 61.3%, 0%, 16.9%)
CIE-LABlab(55.43, 64.48, -45.00)
CIE-LCHlch(55.43, 78.63, 325.09°)
OKLaboklab(64.33% 0.1754 -0.1248)
OKLCHoklch(64.33% 0.215 324.6)
XYZxyz(39.2571, 23.3469, 64.7132)
Luminance0.2334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52D4 #5CD452
analogous
#8952D4 #CA52D4 #D4529D
triadic
#CA52D4 #D4CA52 #52D4CA
tetradic
#CA52D4 #D48952 #5CD452 #529DD4
square
#CA52D4 #D48952 #5CD452 #529DD4
split-complementary
#CA52D4 #9DD452 #52D489
monochromatic
#812289 #B02EBA #CA52D4 #D983E0 #E8B4EC

Accessibility & contrast

On white

3.70
#CA52D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#CA52D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52D4
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52D4#FFFFFF#000000##000000
##CA52D41.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7BD8
Deuteranopia (green-blind)
#688AD1
Tritanopia (blue-blind)
#CE658C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca52d4;
/* rgb */ color: rgb(202, 82, 212);
/* oklch */ color: oklch(64.3% 0.215 324.6);
Tailwind
colors: {
  custom: {
    50: '#dd8ae2',
    500: '#ca52d4',
    950: '#000000',
  },
}
SCSS
$custom: #ca52d4;
$custom-light: #dd8ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52d4",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 295.385,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64326,
    "c": 0.21524,
    "h": 324.6
  },
  "luminance": 0.23345
}

Semantic roles & 50–950 ramp

primary
#CA52D4
secondary
#ABDBA7
accent
#E34451
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#150C15
muted
#847D83

Preview Lab

Preview with #CA52D4

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

Preview Lab → · Contrast checker → · Palette generator →

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