#CA7EC5#CA7EC5

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

Color values

HEX#CA7EC5
RGBrgb(202, 126, 197)
HSLhsl(304, 42%, 64%)
HSVhsv(304, 38%, 79%)
CMYKcmyk(0%, 37.6%, 2.5%, 20.8%)
CIE-LABlab(62.94, 40.28, -24.80)
CIE-LCHlch(62.94, 47.30, 328.38°)
OKLaboklab(69.67% 0.1129 -0.0673)
OKLCHoklch(69.67% 0.131 329.2)
XYZxyz(41.8954, 31.5114, 56.6880)
Luminance0.3151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EC5 #7ECA83
analogous
#A97ECA #CA7EC5 #CA7E9F
triadic
#CA7EC5 #C5CA7E #7EC5CA
tetradic
#CA7EC5 #CAA97E #7ECA83 #7E9FCA
square
#CA7EC5 #CAA97E #7ECA83 #7E9FCA
split-complementary
#CA7EC5 #9FCA7E #7ECAA9
monochromatic
#923C8C #B853B1 #CA7EC5 #DCA9D9 #EED5EC

Accessibility & contrast

On white

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

On black

7.30
#CA7EC5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EC5
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EC5#FFFFFF#000000##000000
##CA7EC51.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A92C8
Deuteranopia (green-blind)
#8E9CC3
Tritanopia (blue-blind)
#CF8499
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca7ec5;
/* rgb */ color: rgb(202, 126, 197);
/* oklch */ color: oklch(69.7% 0.131 329.2);
Tailwind
colors: {
  custom: {
    50: '#dba5d6',
    500: '#ca7ec5',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ec5;
$custom-light: #dba5d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ec5",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 197
  },
  "hsl": {
    "h": 303.947,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69666,
    "c": 0.13145,
    "h": 329.2
  },
  "luminance": 0.31509
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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