#CA7EC6#CA7EC6

#CA7EC6 is a light, vivid purple. Relative luminance 0.316; OKLCH L 69.7% C 0.132 H 328.7°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#CA7EC6
RGBrgb(202, 126, 198)
HSLhsl(303, 42%, 64%)
HSVhsv(303, 38%, 79%)
CMYKcmyk(0%, 37.6%, 2%, 20.8%)
CIE-LABlab(62.98, 40.46, -25.30)
CIE-LCHlch(62.98, 47.72, 327.98°)
OKLaboklab(69.71% 0.1132 -0.0687)
OKLCHoklch(69.71% 0.132 328.7)
XYZxyz(42.0103, 31.5574, 57.2934)
Luminance0.3155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EC6 #7ECA82
analogous
#A87ECA #CA7EC6 #CA7EA0
triadic
#CA7EC6 #C6CA7E #7EC6CA
tetradic
#CA7EC6 #CAA87E #7ECA82 #7EA0CA
square
#CA7EC6 #CAA87E #7ECA82 #7EA0CA
split-complementary
#CA7EC6 #A0CA7E #7ECAA8
monochromatic
#923C8D #B853B3 #CA7EC6 #DCA9D9 #EED5EC

Accessibility & contrast

On white

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

On black

7.31
#CA7EC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EC6
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EC6#FFFFFF#000000##000000
##CA7EC61.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca7ec6;
/* rgb */ color: rgb(202, 126, 198);
/* oklch */ color: oklch(69.7% 0.132 328.7);
Tailwind
colors: {
  custom: {
    50: '#dba5d7',
    500: '#ca7ec6',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ec6;
$custom-light: #dba5d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ec6",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 198
  },
  "hsl": {
    "h": 303.158,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69708,
    "c": 0.13239,
    "h": 328.7
  },
  "luminance": 0.31555
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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