#CA48B5#CA48B5

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

Color values

HEX#CA48B5
RGBrgb(202, 72, 181)
HSLhsl(310, 55%, 54%)
HSVhsv(310, 64%, 79%)
CMYKcmyk(0%, 64.4%, 10.4%, 20.8%)
CIE-LABlab(52.43, 63.47, -31.90)
CIE-LCHlch(52.43, 71.03, 333.32°)
OKLaboklab(61.66% 0.1844 -0.0869)
OKLCHoklch(61.66% 0.204 334.8)
XYZxyz(35.0153, 20.5303, 45.8257)
Luminance0.2053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA48B5 #48CA5D
analogous
#9E48CA #CA48B5 #CA4874
triadic
#CA48B5 #B5CA48 #48B5CA
tetradic
#CA48B5 #CA9E48 #48CA5D #4874CA
square
#CA48B5 #CA9E48 #48CA5D #4874CA
split-complementary
#CA48B5 #74CA48 #48CA9E
monochromatic
#762268 #A53092 #CA48B5 #D877C8 #E5A7DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA48B5#FFFFFF#000000##000000
##CA48B51.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)
#4771B8
Deuteranopia (green-blind)
#7284B2
Tritanopia (blue-blind)
#D35178
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca48b5;
/* rgb */ color: rgb(202, 72, 181);
/* oklch */ color: oklch(61.7% 0.204 334.8);
Tailwind
colors: {
  custom: {
    50: '#dd84cb',
    500: '#ca48b5',
    950: '#000000',
  },
}
SCSS
$custom: #ca48b5;
$custom-light: #dd84cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca48b5",
  "rgb": {
    "r": 202,
    "g": 72,
    "b": 181
  },
  "hsl": {
    "h": 309.692,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61658,
    "c": 0.2039,
    "h": 334.8
  },
  "luminance": 0.20527
}

Semantic roles & 50–950 ramp

primary
#CA48B5
secondary
#9BD3A4
accent
#DE6149
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CA48B5

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

Preview Lab → · Contrast checker → · Palette generator →

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