#CA52DB#CA52DB

#CA52DB is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.7% C 0.221 H 322.5°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#CA52DB
RGBrgb(202, 82, 219)
HSLhsl(293, 66%, 59%)
HSVhsv(293, 63%, 86%)
CMYKcmyk(7.8%, 62.6%, 0%, 14.1%)
CIE-LABlab(55.79, 65.73, -48.39)
CIE-LCHlch(55.79, 81.63, 323.64°)
OKLaboklab(64.71% 0.1756 -0.1346)
OKLCHoklch(64.71% 0.221 322.5)
XYZxyz(40.1593, 23.7077, 69.4648)
Luminance0.2371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52DB #63DB52
analogous
#8652DB #CA52DB #DB52A8
triadic
#CA52DB #DBCA52 #52DBCA
tetradic
#CA52DB #DB8652 #63DB52 #52A8DB
square
#CA52DB #DB8652 #63DB52 #52A8DB
split-complementary
#CA52DB #A8DB52 #52DB86
monochromatic
#851F94 #B329C6 #CA52DB #DA85E6 #E9B7F0

Accessibility & contrast

On white

3.66
#CA52DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#CA52DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52DB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52DB#FFFFFF#000000##000000
##CA52DB1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#337DDF
Deuteranopia (green-blind)
#648AD7
Tritanopia (blue-blind)
#CD678F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca52db;
/* rgb */ color: rgb(202, 82, 219);
/* oklch */ color: oklch(64.7% 0.221 322.5);
Tailwind
colors: {
  custom: {
    50: '#dd8ae7',
    500: '#ca52db',
    950: '#000000',
  },
}
SCSS
$custom: #ca52db;
$custom-light: #dd8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52db",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 292.555,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.6471,
    "c": 0.22129,
    "h": 322.5
  },
  "luminance": 0.23706
}

Semantic roles & 50–950 ramp

primary
#CA52DB
secondary
#B0DFAA
accent
#E93F54
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#150C16
muted
#847D84

Preview Lab

Preview with #CA52DB

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

Preview Lab → · Contrast checker → · Palette generator →

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