#CA4EC7#CA4EC7

#CA4EC7 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.2% C 0.210 H 328.7°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#CA4EC7
RGBrgb(202, 78, 199)
HSLhsl(301, 54%, 55%)
HSVhsv(301, 61%, 79%)
CMYKcmyk(0%, 61.4%, 1.5%, 20.8%)
CIE-LABlab(54.17, 63.92, -39.57)
CIE-LCHlch(54.17, 75.18, 328.24°)
OKLaboklab(63.2% 0.1792 -0.109)
OKLCHoklch(63.2% 0.21 328.7)
XYZxyz(37.3899, 22.1314, 56.3242)
Luminance0.2213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4EC7 #4ECA51
analogous
#8F4ECA #CA4EC7 #CA4E89
triadic
#CA4EC7 #C7CA4E #4EC7CA
tetradic
#CA4EC7 #CA8F4E #4ECA51 #4E89CA
square
#CA4EC7 #CA8F4E #4ECA51 #4E89CA
split-complementary
#CA4EC7 #89CA4E #4ECA8F
monochromatic
#792477 #A832A6 #CA4EC7 #D87DD6 #E6ACE5

Accessibility & contrast

On white

3.87
#CA4EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#CA4EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4EC7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4EC7#FFFFFF#000000##000000
##CA4EC71.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4177CB
Deuteranopia (green-blind)
#6D87C4
Tritanopia (blue-blind)
#D05D84
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ca4ec7;
/* rgb */ color: rgb(202, 78, 199);
/* oklch */ color: oklch(63.2% 0.210 328.7);
Tailwind
colors: {
  custom: {
    50: '#dd88d8',
    500: '#ca4ec7',
    950: '#000000',
  },
}
SCSS
$custom: #ca4ec7;
$custom-light: #dd88d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4ec7",
  "rgb": {
    "r": 202,
    "g": 78,
    "b": 199
  },
  "hsl": {
    "h": 301.452,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.63198,
    "c": 0.2098,
    "h": 328.7
  },
  "luminance": 0.22129
}

Semantic roles & 50–950 ramp

primary
#CA4EC7
secondary
#A0D4A1
accent
#DD4E4B
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#150C14
muted
#847D83

Preview Lab

Preview with #CA4EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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