#CA7CCC#CA7CCC

#CA7CCC is a light, vivid purple. Relative luminance 0.313; OKLCH L 69.6% C 0.142 H 326.1°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#CA7CCC
RGBrgb(202, 124, 204)
HSLhsl(299, 44%, 64%)
HSVhsv(299, 39%, 80%)
CMYKcmyk(1%, 39.2%, 0%, 20%)
CIE-LABlab(62.79, 42.63, -28.97)
CIE-LCHlch(62.79, 51.54, 325.80°)
OKLaboklab(69.65% 0.1176 -0.079)
OKLCHoklch(69.65% 0.142 326.1)
XYZxyz(42.4629, 31.3333, 60.9262)
Luminance0.3133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CCC #7ECC7C
analogous
#A27CCC #CA7CCC #CC7CA6
triadic
#CA7CCC #CCCA7C #7CCCCA
tetradic
#CA7CCC #CCA27C #7ECC7C #7CA6CC
square
#CA7CCC #CCA27C #7ECC7C #7CA6CC
split-complementary
#CA7CCC #A6CC7C #7CCCA2
monochromatic
#923A94 #B850BB #CA7CCC #DCA8DD #EED4EE

Accessibility & contrast

On white

2.89
#CA7CCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#CA7CCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CCC
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CCC#FFFFFF#000000##000000
##CA7CCC1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7592CF
Deuteranopia (green-blind)
#8A9BC9
Tritanopia (blue-blind)
#CE849B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca7ccc;
/* rgb */ color: rgb(202, 124, 204);
/* oklch */ color: oklch(69.6% 0.142 326.1);
Tailwind
colors: {
  custom: {
    50: '#dba3db',
    500: '#ca7ccc',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ccc;
$custom-light: #dba3db;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ccc",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 204
  },
  "hsl": {
    "h": 298.5,
    "s": 43.956,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69645,
    "c": 0.14167,
    "h": 326.1
  },
  "luminance": 0.31331
}

Semantic roles & 50–950 ramp

primary
#CA7CCC
secondary
#C5E0C4
accent
#B72E32
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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