#CA28B8#CA28B8

#CA28B8 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.2% C 0.240 H 333.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CA28B8
RGBrgb(202, 40, 184)
HSLhsl(307, 67%, 47%)
HSVhsv(307, 80%, 79%)
CMYKcmyk(0%, 80.2%, 8.9%, 20.8%)
CIE-LABlab(48.93, 74.25, -39.14)
CIE-LCHlch(48.93, 83.94, 332.20°)
OKLaboklab(59.18% 0.215 -0.1075)
OKLCHoklch(59.18% 0.24 333.4)
XYZxyz(33.7679, 17.5378, 46.9448)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA28B8 #28CA3A
analogous
#8B28CA #CA28B8 #CA2867
triadic
#CA28B8 #B8CA28 #28B8CA
tetradic
#CA28B8 #CA8B28 #28CA3A #2867CA
square
#CA28B8 #CA8B28 #28CA3A #2867CA
split-complementary
#CA28B8 #67CA28 #28CA8B
monochromatic
#64145B #971E89 #CA28B8 #DD52CD #E785DC

Accessibility & contrast

On white

4.66
#CA28B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#CA28B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CA28B8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA28B8#FFFFFF#000000##FFFFFF
##CA28B81.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2066BC
Deuteranopia (green-blind)
#637CB4
Tritanopia (blue-blind)
#D33B70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ca28b8;
/* rgb */ color: rgb(202, 40, 184);
/* oklch */ color: oklch(59.2% 0.240 333.4);
Tailwind
colors: {
  custom: {
    50: '#de76ce',
    500: '#ca28b8',
    950: '#000000',
  },
}
SCSS
$custom: #ca28b8;
$custom-light: #de76ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ca28b8",
  "rgb": {
    "r": 202,
    "g": 40,
    "b": 184
  },
  "hsl": {
    "h": 306.667,
    "s": 66.942,
    "l": 47.451
  },
  "oklch": {
    "l": 0.59181,
    "c": 0.24043,
    "h": 333.4
  },
  "luminance": 0.17535
}

Semantic roles & 50–950 ramp

primary
#CA28B8
secondary
#7ED087
accent
#EA513E
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #CA28B8

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

Preview Lab → · Contrast checker → · Palette generator →

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