#CA7CC5#CA7CC5

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

Color values

HEX#CA7CC5
RGBrgb(202, 124, 197)
HSLhsl(304, 42%, 64%)
HSVhsv(304, 39%, 79%)
CMYKcmyk(0%, 38.6%, 2.5%, 20.8%)
CIE-LABlab(62.51, 41.34, -25.45)
CIE-LCHlch(62.51, 48.55, 328.38°)
OKLaboklab(69.35% 0.1159 -0.0691)
OKLCHoklch(69.35% 0.135 329.2)
XYZxyz(41.6422, 31.0050, 56.6036)
Luminance0.3100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CC5 #7CCA81
analogous
#A87CCA #CA7CC5 #CA7C9E
triadic
#CA7CC5 #C5CA7C #7CC5CA
tetradic
#CA7CC5 #CAA87C #7CCA81 #7C9ECA
square
#CA7CC5 #CAA87C #7CCA81 #7C9ECA
split-complementary
#CA7CC5 #9ECA7C #7CCAA8
monochromatic
#913B8B #B850B2 #CA7CC5 #DCA8D8 #EDD3EC

Accessibility & contrast

On white

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

On black

7.20
#CA7CC5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CC5
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CC5#FFFFFF#000000##000000
##CA7CC51.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7891C8
Deuteranopia (green-blind)
#8C9BC3
Tritanopia (blue-blind)
#CF8298
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca7cc5;
/* rgb */ color: rgb(202, 124, 197);
/* oklch */ color: oklch(69.3% 0.135 329.2);
Tailwind
colors: {
  custom: {
    50: '#dba3d6',
    500: '#ca7cc5',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cc5;
$custom-light: #dba3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cc5",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 197
  },
  "hsl": {
    "h": 303.846,
    "s": 42.391,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69346,
    "c": 0.13496,
    "h": 329.2
  },
  "luminance": 0.31003
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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