#CA48B7#CA48B7

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

Color values

HEX#CA48B7
RGBrgb(202, 72, 183)
HSLhsl(309, 55%, 54%)
HSVhsv(309, 64%, 79%)
CMYKcmyk(0%, 64.4%, 9.4%, 20.8%)
CIE-LABlab(52.52, 63.78, -32.91)
CIE-LCHlch(52.52, 71.77, 332.70°)
OKLaboklab(61.76% 0.1847 -0.0899)
OKLCHoklch(61.76% 0.205 334.1)
XYZxyz(35.2219, 20.6130, 46.9142)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA48B7 #48CA5B
analogous
#9C48CA #CA48B7 #CA4876
triadic
#CA48B7 #B7CA48 #48B7CA
tetradic
#CA48B7 #CA9C48 #48CA5B #4876CA
square
#CA48B7 #CA9C48 #48CA5B #4876CA
split-complementary
#CA48B7 #76CA48 #48CA9C
monochromatic
#762269 #A53094 #CA48B7 #D877CA #E5A7DC

Accessibility & contrast

On white

4.10
#CA48B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CA48B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA48B7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA48B7#FFFFFF#000000##000000
##CA48B71.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4671BA
Deuteranopia (green-blind)
#7184B4
Tritanopia (blue-blind)
#D35279
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca48b7;
/* rgb */ color: rgb(202, 72, 183);
/* oklch */ color: oklch(61.8% 0.205 334.1);
Tailwind
colors: {
  custom: {
    50: '#dd84cd',
    500: '#ca48b7',
    950: '#000000',
  },
}
SCSS
$custom: #ca48b7;
$custom-light: #dd84cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca48b7",
  "rgb": {
    "r": 202,
    "g": 72,
    "b": 183
  },
  "hsl": {
    "h": 308.769,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61755,
    "c": 0.20537,
    "h": 334.1
  },
  "luminance": 0.2061
}

Semantic roles & 50–950 ramp

primary
#CA48B7
secondary
#9BD3A3
accent
#DE5F49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CA48B7

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

Preview Lab → · Contrast checker → · Palette generator →

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