#CA18C5#CA18C5

#CA18C5 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 59.2% C 0.259 H 329.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CA18C5
RGBrgb(202, 24, 197)
HSLhsl(302, 79%, 44%)
HSVhsv(302, 88%, 79%)
CMYKcmyk(0%, 88.1%, 2.5%, 20.8%)
CIE-LABlab(48.57, 79.27, -47.29)
CIE-LCHlch(48.57, 92.30, 329.18°)
OKLaboklab(59.15% 0.2239 -0.1311)
OKLCHoklch(59.15% 0.259 329.7)
XYZxyz(34.7616, 17.2439, 54.3101)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA18C5 #18CA1D
analogous
#7618CA #CA18C5 #CA186C
triadic
#CA18C5 #C5CA18 #18C5CA
tetradic
#CA18C5 #CA7618 #18CA1D #186CCA
square
#CA18C5 #CA7618 #18CA1D #186CCA
split-complementary
#CA18C5 #6CCA18 #18CA76
monochromatic
#5D0B5A #931290 #CA18C5 #E738E2 #EE6FEA

Accessibility & contrast

On white

4.72
#CA18C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#CA18C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA18C5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA18C5#FFFFFF#000000##FFFFFF
##CA18C51.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#587BC1
Tritanopia (blue-blind)
#D13C75
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca18c5;
/* rgb */ color: rgb(202, 24, 197);
/* oklch */ color: oklch(59.2% 0.259 329.7);
Tailwind
colors: {
  custom: {
    50: '#df73d7',
    500: '#ca18c5',
    950: '#000000',
  },
}
SCSS
$custom: #ca18c5;
$custom-light: #df73d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca18c5",
  "rgb": {
    "r": 202,
    "g": 24,
    "b": 197
  },
  "hsl": {
    "h": 301.685,
    "s": 78.761,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5915,
    "c": 0.25943,
    "h": 329.7
  },
  "luminance": 0.17241
}

Semantic roles & 50–950 ramp

primary
#CA18C5
secondary
#6AD46D
accent
#F53833
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #CA18C5

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

Preview Lab → · Contrast checker → · Palette generator →

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