#CA52CA#CA52CA

#CA52CA is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 63.8% C 0.207 H 327.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#CA52CA
RGBrgb(202, 82, 202)
HSLhsl(300, 53%, 56%)
HSVhsv(300, 59%, 79%)
CMYKcmyk(0%, 59.4%, 0%, 20.8%)
CIE-LABlab(54.93, 62.74, -40.10)
CIE-LCHlch(54.93, 74.46, 327.42°)
OKLaboklab(63.8% 0.1747 -0.1106)
OKLCHoklch(63.8% 0.207 327.7)
XYZxyz(38.0345, 22.8578, 58.2743)
Luminance0.2286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52CA #52CA52
analogous
#8E52CA #CA52CA #CA528E
triadic
#CA52CA #CACA52 #52CACA
tetradic
#CA52CA #CA8E52 #52CA52 #528ECA
square
#CA52CA #CA8E52 #52CA52 #528ECA
split-complementary
#CA52CA #8ECA52 #52CA8E
monochromatic
#7C267C #AB34AB #CA52CA #D881D8 #E7B0E7

Accessibility & contrast

On white

3.77
#CA52CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#CA52CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52CA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52CA#FFFFFF#000000##000000
##CA52CA1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4479CE
Deuteranopia (green-blind)
#6E89C7
Tritanopia (blue-blind)
#D06187
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca52ca;
/* rgb */ color: rgb(202, 82, 202);
/* oklch */ color: oklch(63.8% 0.207 327.7);
Tailwind
colors: {
  custom: {
    50: '#dd8ada',
    500: '#ca52ca',
    950: '#000000',
  },
}
SCSS
$custom: #ca52ca;
$custom-light: #dd8ada;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52ca",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 300,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63798,
    "c": 0.20676,
    "h": 327.7
  },
  "luminance": 0.22855
}

Semantic roles & 50–950 ramp

primary
#CA52CA
secondary
#A3D5A3
accent
#DD4B4B
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #CA52CA

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

Preview Lab → · Contrast checker → · Palette generator →

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