#CA48BA#CA48BA

#CA48BA is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.9% C 0.208 H 333.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CA48BA
RGBrgb(202, 72, 186)
HSLhsl(307, 55%, 54%)
HSVhsv(307, 64%, 79%)
CMYKcmyk(0%, 64.4%, 7.9%, 20.8%)
CIE-LABlab(52.66, 64.25, -34.44)
CIE-LCHlch(52.66, 72.89, 331.81°)
OKLaboklab(61.9% 0.185 -0.0942)
OKLCHoklch(61.9% 0.208 333)
XYZxyz(35.5375, 20.7392, 48.5762)
Luminance0.2074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA48BA #48CA58
analogous
#9948CA #CA48BA #CA4879
triadic
#CA48BA #BACA48 #48BACA
tetradic
#CA48BA #CA9948 #48CA58 #4879CA
square
#CA48BA #CA9948 #48CA58 #4879CA
split-complementary
#CA48BA #79CA48 #48CA99
monochromatic
#76226B #A53097 #CA48BA #D877CC #E5A7DE

Accessibility & contrast

On white

4.08
#CA48BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CA48BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA48BA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA48BA#FFFFFF#000000##000000
##CA48BA1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4472BD
Deuteranopia (green-blind)
#7084B7
Tritanopia (blue-blind)
#D3537B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ca48ba;
/* rgb */ color: rgb(202, 72, 186);
/* oklch */ color: oklch(61.9% 0.208 333.0);
Tailwind
colors: {
  custom: {
    50: '#dd84cf',
    500: '#ca48ba',
    950: '#000000',
  },
}
SCSS
$custom: #ca48ba;
$custom-light: #dd84cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca48ba",
  "rgb": {
    "r": 202,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 307.385,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61902,
    "c": 0.20763,
    "h": 333
  },
  "luminance": 0.20736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA48BA

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

Preview Lab → · Contrast checker → · Palette generator →

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