#CA7DC2#CA7DC2

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

Color values

HEX#CA7DC2
RGBrgb(202, 125, 194)
HSLhsl(306, 42%, 64%)
HSVhsv(306, 38%, 79%)
CMYKcmyk(0%, 38.1%, 4%, 20.8%)
CIE-LABlab(62.61, 40.27, -23.61)
CIE-LCHlch(62.61, 46.68, 329.62°)
OKLaboklab(69.38% 0.1137 -0.0639)
OKLCHoklch(69.38% 0.13 330.7)
XYZxyz(41.4278, 31.1208, 54.8532)
Luminance0.3112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DC2 #7DCA85
analogous
#AC7DCA #CA7DC2 #CA7D9C
triadic
#CA7DC2 #C2CA7D #7DC2CA
tetradic
#CA7DC2 #CAAC7D #7DCA85 #7D9CCA
square
#CA7DC2 #CAAC7D #7DCA85 #7D9CCA
split-complementary
#CA7DC2 #9CCA7D #7DCAAC
monochromatic
#913B88 #B852AE #CA7DC2 #DCA8D6 #EDD4EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA7DC2#FFFFFF#000000##000000
##CA7DC21.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)
#7A91C5
Deuteranopia (green-blind)
#8E9BC0
Tritanopia (blue-blind)
#D08297
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca7dc2;
/* rgb */ color: rgb(202, 125, 194);
/* oklch */ color: oklch(69.4% 0.130 330.7);
Tailwind
colors: {
  custom: {
    50: '#dba4d4',
    500: '#ca7dc2',
    950: '#000000',
  },
}
SCSS
$custom: #ca7dc2;
$custom-light: #dba4d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7dc2",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 194
  },
  "hsl": {
    "h": 306.234,
    "s": 42.077,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69382,
    "c": 0.13041,
    "h": 330.7
  },
  "luminance": 0.31119
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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