#CA48BB#CA48BB

#CA48BB is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 62.0% C 0.208 H 332.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CA48BB
RGBrgb(202, 72, 187)
HSLhsl(307, 55%, 54%)
HSVhsv(307, 64%, 79%)
CMYKcmyk(0%, 64.4%, 7.4%, 20.8%)
CIE-LABlab(52.71, 64.40, -34.94)
CIE-LCHlch(52.71, 73.27, 331.52°)
OKLaboklab(61.95% 0.1851 -0.0957)
OKLCHoklch(61.95% 0.208 332.7)
XYZxyz(35.6442, 20.7819, 49.1380)
Luminance0.2078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA48BB #48CA57
analogous
#9848CA #CA48BB #CA487A
triadic
#CA48BB #BBCA48 #48BBCA
tetradic
#CA48BB #CA9848 #48CA57 #487ACA
square
#CA48BB #CA9848 #48CA57 #487ACA
split-complementary
#CA48BB #7ACA48 #48CA98
monochromatic
#76226C #A53097 #CA48BB #D877CD #E5A7DE

Accessibility & contrast

On white

4.07
#CA48BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CA48BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA48BB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA48BB#FFFFFF#000000##000000
##CA48BB1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4372BE
Deuteranopia (green-blind)
#6F84B8
Tritanopia (blue-blind)
#D2537B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ca48bb;
/* rgb */ color: rgb(202, 72, 187);
/* oklch */ color: oklch(62.0% 0.208 332.7);
Tailwind
colors: {
  custom: {
    50: '#dd84d0',
    500: '#ca48bb',
    950: '#000000',
  },
}
SCSS
$custom: #ca48bb;
$custom-light: #dd84d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca48bb",
  "rgb": {
    "r": 202,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 306.923,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61951,
    "c": 0.20838,
    "h": 332.7
  },
  "luminance": 0.20779
}

Semantic roles & 50–950 ramp

primary
#CA48BB
secondary
#9BD3A2
accent
#DE5B49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CA48BB

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

Preview Lab → · Contrast checker → · Palette generator →

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