#CA2CC7#CA2CC7

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

Color values

HEX#CA2CC7
RGBrgb(202, 44, 199)
HSLhsl(301, 64%, 48%)
HSVhsv(301, 78%, 79%)
CMYKcmyk(0%, 78.2%, 1.5%, 20.8%)
CIE-LABlab(50.08, 75.48, -46.04)
CIE-LCHlch(50.08, 88.42, 328.62°)
OKLaboklab(60.26% 0.2121 -0.1275)
OKLCHoklch(60.26% 0.248 329)
XYZxyz(35.5663, 18.4842, 55.7163)
Luminance0.1848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2CC7 #2CCA2F
analogous
#7E2CCA #CA2CC7 #CA2C78
triadic
#CA2CC7 #C7CA2C #2CC7CA
tetradic
#CA2CC7 #CA7E2C #2CCA2F #2C78CA
square
#CA2CC7 #CA7E2C #2CCA2F #2C78CA
split-complementary
#CA2CC7 #78CA2C #2CCA7E
monochromatic
#651664 #982195 #CA2CC7 #DB58D8 #E68BE4

Accessibility & contrast

On white

4.47
#CA2CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#CA2CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA2CC7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2CC7#FFFFFF#000000##000000
##CA2CC71.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca2cc7;
/* rgb */ color: rgb(202, 44, 199);
/* oklch */ color: oklch(60.3% 0.248 329.0);
Tailwind
colors: {
  custom: {
    50: '#de78d8',
    500: '#ca2cc7',
    950: '#000000',
  },
}
SCSS
$custom: #ca2cc7;
$custom-light: #de78d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2cc7",
  "rgb": {
    "r": 202,
    "g": 44,
    "b": 199
  },
  "hsl": {
    "h": 301.139,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.60257,
    "c": 0.24753,
    "h": 329
  },
  "luminance": 0.18481
}

Semantic roles & 50–950 ramp

primary
#CA2CC7
secondary
#82D084
accent
#E74441
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #CA2CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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