#CA48B6#CA48B6

#CA48B6 is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.7% C 0.205 H 334.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#CA48B6
RGBrgb(202, 72, 182)
HSLhsl(309, 55%, 54%)
HSVhsv(309, 64%, 79%)
CMYKcmyk(0%, 64.4%, 9.9%, 20.8%)
CIE-LABlab(52.48, 63.62, -32.41)
CIE-LCHlch(52.48, 71.40, 333.01°)
OKLaboklab(61.71% 0.1846 -0.0884)
OKLCHoklch(61.71% 0.205 334.4)
XYZxyz(35.1182, 20.5715, 46.3680)
Luminance0.2057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA48B6 #48CA5C
analogous
#9D48CA #CA48B6 #CA4875
triadic
#CA48B6 #B6CA48 #48B6CA
tetradic
#CA48B6 #CA9D48 #48CA5C #4875CA
square
#CA48B6 #CA9D48 #48CA5C #4875CA
split-complementary
#CA48B6 #75CA48 #48CA9D
monochromatic
#762269 #A53093 #CA48B6 #D877C9 #E5A7DC

Accessibility & contrast

On white

4.11
#CA48B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#CA48B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA48B6
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA48B6#FFFFFF#000000##000000
##CA48B61.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4771B9
Deuteranopia (green-blind)
#7184B3
Tritanopia (blue-blind)
#D35179
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca48b6;
/* rgb */ color: rgb(202, 72, 182);
/* oklch */ color: oklch(61.7% 0.205 334.4);
Tailwind
colors: {
  custom: {
    50: '#dd84cc',
    500: '#ca48b6',
    950: '#000000',
  },
}
SCSS
$custom: #ca48b6;
$custom-light: #dd84cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca48b6",
  "rgb": {
    "r": 202,
    "g": 72,
    "b": 182
  },
  "hsl": {
    "h": 309.231,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61706,
    "c": 0.20463,
    "h": 334.4
  },
  "luminance": 0.20569
}

Semantic roles & 50–950 ramp

primary
#CA48B6
secondary
#9BD3A4
accent
#DE6049
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CA48B6

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

Preview Lab → · Contrast checker → · Palette generator →

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