#CA2DCC#CA2DCC

#CA2DCC is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.6% C 0.250 H 327.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CA2DCC
RGBrgb(202, 45, 204)
HSLhsl(299, 64%, 49%)
HSVhsv(299, 78%, 80%)
CMYKcmyk(1%, 77.9%, 0%, 20%)
CIE-LABlab(50.45, 76.00, -48.34)
CIE-LCHlch(50.45, 90.07, 327.54°)
OKLaboklab(60.61% 0.2112 -0.1342)
OKLCHoklch(60.61% 0.25 327.6)
XYZxyz(36.1941, 18.7956, 58.8366)
Luminance0.1879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2DCC #2FCC2D
analogous
#7B2DCC #CA2DCC #CC2D7F
triadic
#CA2DCC #CCCA2D #2DCCCA
tetradic
#CA2DCC #CC7B2D #2FCC2D #2D7FCC
square
#CA2DCC #CC7B2D #2FCC2D #2D7FCC
split-complementary
#CA2DCC #7FCC2D #2DCC7B
monochromatic
#671768 #98229A #CA2DCC #D95BDB #E58DE6

Accessibility & contrast

On white

4.41
#CA2DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CA2DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA2DCC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2DCC#FFFFFF#000000##000000
##CA2DCC1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#5A7FC8
Tritanopia (blue-blind)
#D0497D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca2dcc;
/* rgb */ color: rgb(202, 45, 204);
/* oklch */ color: oklch(60.6% 0.250 327.6);
Tailwind
colors: {
  custom: {
    50: '#de79dc',
    500: '#ca2dcc',
    950: '#000000',
  },
}
SCSS
$custom: #ca2dcc;
$custom-light: #de79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2dcc",
  "rgb": {
    "r": 202,
    "g": 45,
    "b": 204
  },
  "hsl": {
    "h": 299.245,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.6061,
    "c": 0.25027,
    "h": 327.6
  },
  "luminance": 0.18793
}

Semantic roles & 50–950 ramp

primary
#CA2DCC
secondary
#86D085
accent
#E74143
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160A15
muted
#847C83

Preview Lab

Preview with #CA2DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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