#CA2DC8#CA2DC8

#CA2DC8 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.4% C 0.247 H 328.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CA2DC8
RGBrgb(202, 45, 200)
HSLhsl(301, 64%, 48%)
HSVhsv(301, 78%, 79%)
CMYKcmyk(0%, 77.7%, 1%, 20.8%)
CIE-LABlab(50.22, 75.38, -46.39)
CIE-LCHlch(50.22, 88.51, 328.39°)
OKLaboklab(60.38% 0.2114 -0.1286)
OKLCHoklch(60.38% 0.247 328.7)
XYZxyz(35.7205, 18.6062, 56.3424)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2DC8 #2DCA2F
analogous
#7D2DCA #CA2DC8 #CA2D79
triadic
#CA2DC8 #C8CA2D #2DC8CA
tetradic
#CA2DC8 #CA7D2D #2DCA2F #2D79CA
square
#CA2DC8 #CA7D2D #2DCA2F #2D79CA
split-complementary
#CA2DC8 #79CA2D #2DCA7D
monochromatic
#661765 #982296 #CA2DC8 #DA5AD9 #E58CE4

Accessibility & contrast

On white

4.45
#CA2DC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#CA2DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA2DC8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2DC8#FFFFFF#000000##000000
##CA2DC81.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#5C7FC4
Tritanopia (blue-blind)
#D1477B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ca2dc8;
/* rgb */ color: rgb(202, 45, 200);
/* oklch */ color: oklch(60.4% 0.247 328.7);
Tailwind
colors: {
  custom: {
    50: '#de79d9',
    500: '#ca2dc8',
    950: '#000000',
  },
}
SCSS
$custom: #ca2dc8;
$custom-light: #de79d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2dc8",
  "rgb": {
    "r": 202,
    "g": 45,
    "b": 200
  },
  "hsl": {
    "h": 300.764,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.60379,
    "c": 0.2474,
    "h": 328.7
  },
  "luminance": 0.18603
}

Semantic roles & 50–950 ramp

primary
#CA2DC8
secondary
#83CF84
accent
#E74341
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160A15
muted
#847C83

Preview Lab

Preview with #CA2DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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