#CA7CC2#CA7CC2

#CA7CC2 is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.2% C 0.132 H 330.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#CA7CC2
RGBrgb(202, 124, 194)
HSLhsl(306, 42%, 64%)
HSVhsv(306, 39%, 79%)
CMYKcmyk(0%, 38.6%, 4%, 20.8%)
CIE-LABlab(62.40, 40.80, -23.93)
CIE-LCHlch(62.40, 47.30, 329.61°)
OKLaboklab(69.22% 0.1152 -0.0648)
OKLCHoklch(69.22% 0.132 330.6)
XYZxyz(41.3019, 30.8689, 54.8112)
Luminance0.3087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CC2 #7CCA84
analogous
#AB7CCA #CA7CC2 #CA7C9B
triadic
#CA7CC2 #C2CA7C #7CC2CA
tetradic
#CA7CC2 #CAAB7C #7CCA84 #7C9BCA
square
#CA7CC2 #CAAB7C #7CCA84 #7C9BCA
split-complementary
#CA7CC2 #9BCA7C #7CCAAB
monochromatic
#913B88 #B850AE #CA7CC2 #DCA8D6 #EDD3EB

Accessibility & contrast

On white

2.93
#CA7CC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#CA7CC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CC2
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CC2#FFFFFF#000000##000000
##CA7CC21.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7990C5
Deuteranopia (green-blind)
#8D9BC0
Tritanopia (blue-blind)
#D08196
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca7cc2;
/* rgb */ color: rgb(202, 124, 194);
/* oklch */ color: oklch(69.2% 0.132 330.6);
Tailwind
colors: {
  custom: {
    50: '#dba3d4',
    500: '#ca7cc2',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cc2;
$custom-light: #dba3d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cc2",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 194
  },
  "hsl": {
    "h": 306.154,
    "s": 42.391,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69222,
    "c": 0.13218,
    "h": 330.6
  },
  "luminance": 0.30867
}

Semantic roles & 50–950 ramp

primary
#CA7CC2
secondary
#C3DFC6
accent
#B53E30
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CA7CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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