#CA7CC4#CA7CC4

#CA7CC4 is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.3% C 0.134 H 329.7°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#CA7CC4
RGBrgb(202, 124, 196)
HSLhsl(305, 42%, 64%)
HSVhsv(305, 39%, 79%)
CMYKcmyk(0%, 38.6%, 3%, 20.8%)
CIE-LABlab(62.47, 41.16, -24.94)
CIE-LCHlch(62.47, 48.13, 328.78°)
OKLaboklab(69.31% 0.1157 -0.0677)
OKLCHoklch(69.31% 0.134 329.7)
XYZxyz(41.5280, 30.9593, 56.0022)
Luminance0.3096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CC4 #7CCA82
analogous
#A97CCA #CA7CC4 #CA7C9D
triadic
#CA7CC4 #C4CA7C #7CC4CA
tetradic
#CA7CC4 #CAA97C #7CCA82 #7C9DCA
square
#CA7CC4 #CAA97C #7CCA82 #7C9DCA
split-complementary
#CA7CC4 #9DCA7C #7CCAA9
monochromatic
#913B8A #B850B0 #CA7CC4 #DCA8D8 #EDD3EB

Accessibility & contrast

On white

2.92
#CA7CC4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#CA7CC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CC4
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CC4#FFFFFF#000000##000000
##CA7CC41.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7890C7
Deuteranopia (green-blind)
#8D9BC2
Tritanopia (blue-blind)
#D08297
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca7cc4;
/* rgb */ color: rgb(202, 124, 196);
/* oklch */ color: oklch(69.3% 0.134 329.7);
Tailwind
colors: {
  custom: {
    50: '#dba3d6',
    500: '#ca7cc4',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cc4;
$custom-light: #dba3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cc4",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 196
  },
  "hsl": {
    "h": 304.615,
    "s": 42.391,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69305,
    "c": 0.13403,
    "h": 329.7
  },
  "luminance": 0.30957
}

Semantic roles & 50–950 ramp

primary
#CA7CC4
secondary
#C3DFC5
accent
#B53A30
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CA7CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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