#CA2EC8#CA2EC8

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

Color values

HEX#CA2EC8
RGBrgb(202, 46, 200)
HSLhsl(301, 63%, 49%)
HSVhsv(301, 77%, 79%)
CMYKcmyk(0%, 77.2%, 1%, 20.8%)
CIE-LABlab(50.31, 75.12, -46.24)
CIE-LCHlch(50.31, 88.21, 328.38°)
OKLaboklab(60.44% 0.2106 -0.1281)
OKLCHoklch(60.44% 0.247 328.7)
XYZxyz(35.7591, 18.6834, 56.3552)
Luminance0.1868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2EC8 #2ECA30
analogous
#7E2ECA #CA2EC8 #CA2E7A
triadic
#CA2EC8 #C8CA2E #2EC8CA
tetradic
#CA2EC8 #CA7E2E #2ECA30 #2E7ACA
square
#CA2EC8 #CA7E2E #2ECA30 #2E7ACA
split-complementary
#CA2EC8 #7ACA2E #2ECA7E
monochromatic
#661765 #982397 #CA2EC8 #DA5BD8 #E58DE4

Accessibility & contrast

On white

4.43
#CA2EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CA2EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA2EC8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2EC8#FFFFFF#000000##000000
##CA2EC81.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#016BCC
Deuteranopia (green-blind)
#5D7FC4
Tritanopia (blue-blind)
#D1487B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca2ec8;
/* rgb */ color: rgb(202, 46, 200);
/* oklch */ color: oklch(60.4% 0.247 328.7);
Tailwind
colors: {
  custom: {
    50: '#de79d9',
    500: '#ca2ec8',
    950: '#000000',
  },
}
SCSS
$custom: #ca2ec8;
$custom-light: #de79d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2ec8",
  "rgb": {
    "r": 202,
    "g": 46,
    "b": 200
  },
  "hsl": {
    "h": 300.769,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.60444,
    "c": 0.24654,
    "h": 328.7
  },
  "luminance": 0.18681
}

Semantic roles & 50–950 ramp

primary
#CA2EC8
secondary
#84CF85
accent
#E64442
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160A15
muted
#847C83

Preview Lab

Preview with #CA2EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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