#CA28B5#CA28B5

#CA28B5 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 59.0% C 0.238 H 334.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#CA28B5
RGBrgb(202, 40, 181)
HSLhsl(308, 67%, 47%)
HSVhsv(308, 80%, 79%)
CMYKcmyk(0%, 80.2%, 10.4%, 20.8%)
CIE-LABlab(48.78, 73.83, -37.63)
CIE-LCHlch(48.78, 82.86, 332.99°)
OKLaboklab(59.02% 0.215 -0.1032)
OKLCHoklch(59.02% 0.238 334.4)
XYZxyz(33.4568, 17.4134, 45.3062)
Luminance0.1741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA28B5 #28CA3D
analogous
#8E28CA #CA28B5 #CA2864
triadic
#CA28B5 #B5CA28 #28B5CA
tetradic
#CA28B5 #CA8E28 #28CA3D #2864CA
square
#CA28B5 #CA8E28 #28CA3D #2864CA
split-complementary
#CA28B5 #64CA28 #28CA8E
monochromatic
#641459 #971E87 #CA28B5 #DD52CB #E785DA

Accessibility & contrast

On white

4.69
#CA28B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#CA28B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA28B5
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA28B5#FFFFFF#000000##FFFFFF
##CA28B51.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2465B9
Deuteranopia (green-blind)
#657CB1
Tritanopia (blue-blind)
#D43A6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ca28b5;
/* rgb */ color: rgb(202, 40, 181);
/* oklch */ color: oklch(59.0% 0.238 334.4);
Tailwind
colors: {
  custom: {
    50: '#de76cb',
    500: '#ca28b5',
    950: '#000000',
  },
}
SCSS
$custom: #ca28b5;
$custom-light: #de76cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca28b5",
  "rgb": {
    "r": 202,
    "g": 40,
    "b": 181
  },
  "hsl": {
    "h": 307.778,
    "s": 66.942,
    "l": 47.451
  },
  "oklch": {
    "l": 0.59021,
    "c": 0.23843,
    "h": 334.4
  },
  "luminance": 0.1741
}

Semantic roles & 50–950 ramp

primary
#CA28B5
secondary
#7ED088
accent
#EA543E
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CA28B5

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

Preview Lab → · Contrast checker → · Palette generator →

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