#CA52D7#CA52D7

#CA52D7 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.5% C 0.218 H 323.7°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#CA52D7
RGBrgb(202, 82, 215)
HSLhsl(294, 62%, 58%)
HSVhsv(294, 62%, 84%)
CMYKcmyk(6%, 61.9%, 0%, 15.7%)
CIE-LABlab(55.58, 65.02, -46.46)
CIE-LCHlch(55.58, 79.91, 324.45°)
OKLaboklab(64.49% 0.1755 -0.129)
OKLCHoklch(64.49% 0.218 323.7)
XYZxyz(39.6390, 23.4996, 66.7248)
Luminance0.2350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52D7 #5FD752
analogous
#8752D7 #CA52D7 #D752A2
triadic
#CA52D7 #D7CA52 #52D7CA
tetradic
#CA52D7 #D78752 #5FD752 #52A2D7
square
#CA52D7 #D78752 #5FD752 #52A2D7
split-complementary
#CA52D7 #A2D752 #52D787
monochromatic
#83218E #B12CC0 #CA52D7 #D984E2 #E8B5EE

Accessibility & contrast

On white

3.68
#CA52D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#CA52D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52D7
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52D7#FFFFFF#000000##000000
##CA52D71.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#387CDB
Deuteranopia (green-blind)
#678AD4
Tritanopia (blue-blind)
#CD668D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca52d7;
/* rgb */ color: rgb(202, 82, 215);
/* oklch */ color: oklch(64.5% 0.218 323.7);
Tailwind
colors: {
  custom: {
    50: '#dd8ae4',
    500: '#ca52d7',
    950: '#000000',
  },
}
SCSS
$custom: #ca52d7;
$custom-light: #dd8ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52d7",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 294.135,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64489,
    "c": 0.21782,
    "h": 323.7
  },
  "luminance": 0.23497
}

Semantic roles & 50–950 ramp

primary
#CA52D7
secondary
#ADDDA8
accent
#E64252
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#150C15
muted
#847D84

Preview Lab

Preview with #CA52D7

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

Preview Lab → · Contrast checker → · Palette generator →

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