#CA7CC7#CA7CC7

#CA7CC7 is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.4% C 0.137 H 328.3°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#CA7CC7
RGBrgb(202, 124, 199)
HSLhsl(302, 42%, 64%)
HSVhsv(302, 39%, 79%)
CMYKcmyk(0%, 38.6%, 1.5%, 20.8%)
CIE-LABlab(62.59, 41.70, -26.46)
CIE-LCHlch(62.59, 49.39, 327.61°)
OKLaboklab(69.43% 0.1164 -0.0719)
OKLCHoklch(69.43% 0.137 328.3)
XYZxyz(41.8729, 31.0973, 57.8185)
Luminance0.3110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CC7 #7CCA7F
analogous
#A67CCA #CA7CC7 #CA7CA0
triadic
#CA7CC7 #C7CA7C #7CC7CA
tetradic
#CA7CC7 #CAA67C #7CCA7F #7CA0CA
square
#CA7CC7 #CAA67C #7CCA7F #7CA0CA
split-complementary
#CA7CC7 #A0CA7C #7CCAA6
monochromatic
#913B8E #B850B4 #CA7CC7 #DCA8DA #EDD3EC

Accessibility & contrast

On white

2.91
#CA7CC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#CA7CC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CC7
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CC7#FFFFFF#000000##000000
##CA7CC71.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7791CA
Deuteranopia (green-blind)
#8C9BC4
Tritanopia (blue-blind)
#CF8398
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca7cc7;
/* rgb */ color: rgb(202, 124, 199);
/* oklch */ color: oklch(69.4% 0.137 328.3);
Tailwind
colors: {
  custom: {
    50: '#dba3d8',
    500: '#ca7cc7',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cc7;
$custom-light: #dba3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cc7",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 199
  },
  "hsl": {
    "h": 302.308,
    "s": 42.391,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6943,
    "c": 0.13685,
    "h": 328.3
  },
  "luminance": 0.31095
}

Semantic roles & 50–950 ramp

primary
#CA7CC7
secondary
#C3DFC4
accent
#B53530
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CA7CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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