#CA52D2#CA52D2

#CA52D2 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.2% C 0.214 H 325.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#CA52D2
RGBrgb(202, 82, 210)
HSLhsl(296, 59%, 57%)
HSVhsv(296, 61%, 82%)
CMYKcmyk(3.8%, 61%, 0%, 17.6%)
CIE-LABlab(55.33, 64.13, -44.03)
CIE-LCHlch(55.33, 77.79, 325.53°)
OKLaboklab(64.22% 0.1753 -0.122)
OKLCHoklch(64.22% 0.214 325.2)
XYZxyz(39.0064, 23.2466, 63.3928)
Luminance0.2324 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52D2 #5AD252
analogous
#8A52D2 #CA52D2 #D2529A
triadic
#CA52D2 #D2CA52 #52D2CA
tetradic
#CA52D2 #D28A52 #5AD252 #529AD2
square
#CA52D2 #D28A52 #5AD252 #529AD2
split-complementary
#CA52D2 #9AD252 #52D28A
monochromatic
#802387 #AF30B7 #CA52D2 #D983DF #E8B3EB

Accessibility & contrast

On white

3.72
#CA52D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#CA52D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52D2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52D2#FFFFFF#000000##000000
##CA52D21.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7BD6
Deuteranopia (green-blind)
#698ACF
Tritanopia (blue-blind)
#CE648B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ca52d2;
/* rgb */ color: rgb(202, 82, 210);
/* oklch */ color: oklch(64.2% 0.214 325.2);
Tailwind
colors: {
  custom: {
    50: '#dd8ae0',
    500: '#ca52d2',
    950: '#000000',
  },
}
SCSS
$custom: #ca52d2;
$custom-light: #dd8ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52d2",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 296.25,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64218,
    "c": 0.21352,
    "h": 325.2
  },
  "luminance": 0.23244
}

Semantic roles & 50–950 ramp

primary
#CA52D2
secondary
#A9DAA6
accent
#E24650
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #CA52D2

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

Preview Lab → · Contrast checker → · Palette generator →

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