#CA7EC8#CA7EC8

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

Color values

HEX#CA7EC8
RGBrgb(202, 126, 200)
HSLhsl(302, 42%, 64%)
HSVhsv(302, 38%, 79%)
CMYKcmyk(0%, 37.6%, 1%, 20.8%)
CIE-LABlab(63.05, 40.82, -26.31)
CIE-LCHlch(63.05, 48.57, 327.20°)
OKLaboklab(69.79% 0.1137 -0.0715)
OKLCHoklch(69.79% 0.134 327.8)
XYZxyz(42.2425, 31.6503, 58.5164)
Luminance0.3165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EC8 #7ECA80
analogous
#A67ECA #CA7EC8 #CA7EA2
triadic
#CA7EC8 #C8CA7E #7EC8CA
tetradic
#CA7EC8 #CAA67E #7ECA80 #7EA2CA
square
#CA7EC8 #CAA67E #7ECA80 #7EA2CA
split-complementary
#CA7EC8 #A2CA7E #7ECAA6
monochromatic
#923C8F #B853B6 #CA7EC8 #DCA9DA #EED5ED

Accessibility & contrast

On white

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

On black

7.33
#CA7EC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EC8
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EC8#FFFFFF#000000##000000
##CA7EC81.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7992CB
Deuteranopia (green-blind)
#8D9CC6
Tritanopia (blue-blind)
#CF859A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7ec8;
/* rgb */ color: rgb(202, 126, 200);
/* oklch */ color: oklch(69.8% 0.134 327.8);
Tailwind
colors: {
  custom: {
    50: '#dba5d9',
    500: '#ca7ec8',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ec8;
$custom-light: #dba5d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ec8",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 200
  },
  "hsl": {
    "h": 301.579,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69792,
    "c": 0.1343,
    "h": 327.8
  },
  "luminance": 0.31648
}

Semantic roles & 50–950 ramp

primary
#CA7EC8
secondary
#C5DFC5
accent
#B53431
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CA7EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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