#CA48C1#CA48C1

#CA48C1 is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.3% C 0.213 H 330.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#CA48C1
RGBrgb(202, 72, 193)
HSLhsl(304, 55%, 54%)
HSVhsv(304, 64%, 79%)
CMYKcmyk(0%, 64.4%, 4.5%, 20.8%)
CIE-LABlab(53.00, 65.36, -37.96)
CIE-LCHlch(53.00, 75.58, 329.85°)
OKLaboklab(62.25% 0.1857 -0.1043)
OKLCHoklch(62.25% 0.213 330.7)
XYZxyz(36.3000, 21.0442, 52.5918)
Luminance0.2104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA48C1 #48CA51
analogous
#9248CA #CA48C1 #CA4880
triadic
#CA48C1 #C1CA48 #48C1CA
tetradic
#CA48C1 #CA9248 #48CA51 #4880CA
square
#CA48C1 #CA9248 #48CA51 #4880CA
split-complementary
#CA48C1 #80CA48 #48CA92
monochromatic
#762270 #A5309D #CA48C1 #D877D1 #E5A7E1

Accessibility & contrast

On white

4.03
#CA48C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#CA48C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA48C1
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA48C1#FFFFFF#000000##000000
##CA48C11.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E73C5
Deuteranopia (green-blind)
#6C85BE
Tritanopia (blue-blind)
#D2567E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ca48c1;
/* rgb */ color: rgb(202, 72, 193);
/* oklch */ color: oklch(62.3% 0.213 330.7);
Tailwind
colors: {
  custom: {
    50: '#dd84d4',
    500: '#ca48c1',
    950: '#000000',
  },
}
SCSS
$custom: #ca48c1;
$custom-light: #dd84d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca48c1",
  "rgb": {
    "r": 202,
    "g": 72,
    "b": 193
  },
  "hsl": {
    "h": 304.154,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.62254,
    "c": 0.21299,
    "h": 330.7
  },
  "luminance": 0.21042
}

Semantic roles & 50–950 ramp

primary
#CA48C1
secondary
#9BD39F
accent
#DE5449
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CA48C1

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

Preview Lab → · Contrast checker → · Palette generator →

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