#CA7EC7#CA7EC7

#CA7EC7 is a light, vivid purple. Relative luminance 0.316; OKLCH L 69.8% C 0.133 H 328.3°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#CA7EC7
RGBrgb(202, 126, 199)
HSLhsl(302, 42%, 64%)
HSVhsv(302, 38%, 79%)
CMYKcmyk(0%, 37.6%, 1.5%, 20.8%)
CIE-LABlab(63.01, 40.64, -25.80)
CIE-LCHlch(63.01, 48.14, 327.59°)
OKLaboklab(69.75% 0.1134 -0.0701)
OKLCHoklch(69.75% 0.133 328.3)
XYZxyz(42.1260, 31.6037, 57.9029)
Luminance0.3160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EC7 #7ECA81
analogous
#A77ECA #CA7EC7 #CA7EA1
triadic
#CA7EC7 #C7CA7E #7EC7CA
tetradic
#CA7EC7 #CAA77E #7ECA81 #7EA1CA
square
#CA7EC7 #CAA77E #7ECA81 #7EA1CA
split-complementary
#CA7EC7 #A1CA7E #7ECAA7
monochromatic
#923C8E #B853B4 #CA7EC7 #DCA9DA #EED5ED

Accessibility & contrast

On white

2.87
#CA7EC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#CA7EC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EC7
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EC7#FFFFFF#000000##000000
##CA7EC71.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7992CA
Deuteranopia (green-blind)
#8D9CC5
Tritanopia (blue-blind)
#CF8499
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca7ec7;
/* rgb */ color: rgb(202, 126, 199);
/* oklch */ color: oklch(69.8% 0.133 328.3);
Tailwind
colors: {
  custom: {
    50: '#dba5d8',
    500: '#ca7ec7',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ec7;
$custom-light: #dba5d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ec7",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 199
  },
  "hsl": {
    "h": 302.368,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6975,
    "c": 0.13334,
    "h": 328.3
  },
  "luminance": 0.31602
}

Semantic roles & 50–950 ramp

primary
#CA7EC7
secondary
#C5DFC6
accent
#B53631
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CA7EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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