#CA48E2#CA48E2

#CA48E2 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.1% C 0.240 H 321.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#CA48E2
RGBrgb(202, 72, 226)
HSLhsl(291, 73%, 58%)
HSVhsv(291, 68%, 89%)
CMYKcmyk(10.6%, 68.1%, 0%, 11.4%)
CIE-LABlab(54.75, 71.00, -54.01)
CIE-LCHlch(54.75, 89.21, 322.74°)
OKLaboklab(64.08% 0.1864 -0.151)
OKLCHoklch(64.08% 0.24 321)
XYZxyz(40.4004, 22.6844, 74.1873)
Luminance0.2268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA48E2 #60E248
analogous
#7D48E2 #CA48E2 #E248AD
triadic
#CA48E2 #E2CA48 #48E2CA
tetradic
#CA48E2 #E27D48 #60E248 #48ADE2
square
#CA48E2 #E27D48 #60E248 #48ADE2
split-complementary
#CA48E2 #ADE248 #48E27D
monochromatic
#841898 #B220CC #CA48E2 #D97DEA #E9B2F3

Accessibility & contrast

On white

3.79
#CA48E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#CA48E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA48E2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA48E2#FFFFFF#000000##000000
##CA48E21.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#087AE6
Deuteranopia (green-blind)
#5988DE
Tritanopia (blue-blind)
#CC6490
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca48e2;
/* rgb */ color: rgb(202, 72, 226);
/* oklch */ color: oklch(64.1% 0.240 321.0);
Tailwind
colors: {
  custom: {
    50: '#de85ec',
    500: '#ca48e2',
    950: '#000000',
  },
}
SCSS
$custom: #ca48e2;
$custom-light: #de85ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ca48e2",
  "rgb": {
    "r": 202,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 290.649,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64079,
    "c": 0.23988,
    "h": 321
  },
  "luminance": 0.22682
}

Semantic roles & 50–950 ramp

primary
#CA48E2
secondary
#AEE1A4
accent
#EF3855
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CA48E2

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

Preview Lab → · Contrast checker → · Palette generator →

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