#CA7EC4#CA7EC4

#CA7EC4 is a light, vivid purple. Relative luminance 0.315; OKLCH L 69.6% C 0.131 H 329.7°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#CA7EC4
RGBrgb(202, 126, 196)
HSLhsl(305, 42%, 64%)
HSVhsv(305, 38%, 79%)
CMYKcmyk(0%, 37.6%, 3%, 20.8%)
CIE-LABlab(62.90, 40.09, -24.29)
CIE-LCHlch(62.90, 46.88, 328.79°)
OKLaboklab(69.63% 0.1127 -0.0659)
OKLCHoklch(69.63% 0.131 329.7)
XYZxyz(41.7812, 31.4657, 56.0866)
Luminance0.3146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EC4 #7ECA84
analogous
#AA7ECA #CA7EC4 #CA7E9E
triadic
#CA7EC4 #C4CA7E #7EC4CA
tetradic
#CA7EC4 #CAAA7E #7ECA84 #7E9ECA
square
#CA7EC4 #CAAA7E #7ECA84 #7E9ECA
split-complementary
#CA7EC4 #9ECA7E #7ECAAA
monochromatic
#923C8B #B853B0 #CA7EC4 #DCA9D8 #EED5EC

Accessibility & contrast

On white

2.88
#CA7EC4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#CA7EC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EC4
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EC4#FFFFFF#000000##000000
##CA7EC41.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B92C7
Deuteranopia (green-blind)
#8E9CC2
Tritanopia (blue-blind)
#CF8498
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca7ec4;
/* rgb */ color: rgb(202, 126, 196);
/* oklch */ color: oklch(69.6% 0.131 329.7);
Tailwind
colors: {
  custom: {
    50: '#dba5d6',
    500: '#ca7ec4',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ec4;
$custom-light: #dba5d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ec4",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 196
  },
  "hsl": {
    "h": 304.737,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69625,
    "c": 0.13051,
    "h": 329.7
  },
  "luminance": 0.31464
}

Semantic roles & 50–950 ramp

primary
#CA7EC4
secondary
#C5DFC7
accent
#B53B31
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CA7EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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