#CA2DC7#CA2DC7

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

Color values

HEX#CA2DC7
RGBrgb(202, 45, 199)
HSLhsl(301, 64%, 48%)
HSVhsv(301, 78%, 79%)
CMYKcmyk(0%, 77.7%, 1.5%, 20.8%)
CIE-LABlab(50.17, 75.23, -45.90)
CIE-LCHlch(50.17, 88.12, 328.61°)
OKLaboklab(60.32% 0.2114 -0.1271)
OKLCHoklch(60.32% 0.247 329)
XYZxyz(35.6040, 18.5596, 55.7289)
Luminance0.1856 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2DC7 #2DCA30
analogous
#7E2DCA #CA2DC7 #CA2D79
triadic
#CA2DC7 #C7CA2D #2DC7CA
tetradic
#CA2DC7 #CA7E2D #2DCA30 #2D79CA
square
#CA2DC7 #CA7E2D #2DCA30 #2D79CA
split-complementary
#CA2DC7 #79CA2D #2DCA7E
monochromatic
#661764 #982296 #CA2DC7 #DA5AD8 #E58CE4

Accessibility & contrast

On white

4.46
#CA2DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#CA2DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA2DC7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2DC7#FFFFFF#000000##000000
##CA2DC71.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#026ACB
Deuteranopia (green-blind)
#5D7EC3
Tritanopia (blue-blind)
#D1477A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ca2dc7;
/* rgb */ color: rgb(202, 45, 199);
/* oklch */ color: oklch(60.3% 0.247 329.0);
Tailwind
colors: {
  custom: {
    50: '#de79d8',
    500: '#ca2dc7',
    950: '#000000',
  },
}
SCSS
$custom: #ca2dc7;
$custom-light: #de79d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2dc7",
  "rgb": {
    "r": 202,
    "g": 45,
    "b": 199
  },
  "hsl": {
    "h": 301.146,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.60321,
    "c": 0.24669,
    "h": 329
  },
  "luminance": 0.18557
}

Semantic roles & 50–950 ramp

primary
#CA2DC7
secondary
#83CF85
accent
#E74441
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #CA2DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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