#CA7EC0#CA7EC0

#CA7EC0 is a light, vivid purple. Relative luminance 0.313; OKLCH L 69.5% C 0.127 H 331.7°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#CA7EC0
RGBrgb(202, 126, 192)
HSLhsl(308, 42%, 64%)
HSVhsv(308, 38%, 79%)
CMYKcmyk(0%, 37.6%, 5%, 20.8%)
CIE-LABlab(62.75, 39.38, -22.26)
CIE-LCHlch(62.75, 45.23, 330.52°)
OKLaboklab(69.46% 0.1117 -0.0601)
OKLCHoklch(69.46% 0.127 331.7)
XYZxyz(41.3319, 31.2860, 53.7206)
Luminance0.3128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EC0 #7ECA88
analogous
#AE7ECA #CA7EC0 #CA7E9A
triadic
#CA7EC0 #C0CA7E #7EC0CA
tetradic
#CA7EC0 #CAAE7E #7ECA88 #7E9ACA
square
#CA7EC0 #CAAE7E #7ECA88 #7E9ACA
split-complementary
#CA7EC0 #9ACA7E #7ECAAE
monochromatic
#923C86 #B853AB #CA7EC0 #DCA9D5 #EED5EA

Accessibility & contrast

On white

2.89
#CA7EC0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#CA7EC0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EC0
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EC0#FFFFFF#000000##000000
##CA7EC01.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C91C2
Deuteranopia (green-blind)
#8F9CBE
Tritanopia (blue-blind)
#D08397
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca7ec0;
/* rgb */ color: rgb(202, 126, 192);
/* oklch */ color: oklch(69.5% 0.127 331.7);
Tailwind
colors: {
  custom: {
    50: '#dba5d3',
    500: '#ca7ec0',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ec0;
$custom-light: #dba5d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ec0",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 192
  },
  "hsl": {
    "h": 307.895,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69462,
    "c": 0.12682,
    "h": 331.7
  },
  "luminance": 0.31284
}

Semantic roles & 50–950 ramp

primary
#CA7EC0
secondary
#C5DFC8
accent
#B54231
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CA7EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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