#CA7CD6#CA7CD6

#CA7CD6 is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.1% C 0.152 H 322.1°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#CA7CD6
RGBrgb(202, 124, 214)
HSLhsl(292, 52%, 66%)
HSVhsv(292, 42%, 84%)
CMYKcmyk(5.6%, 42.1%, 0%, 16.1%)
CIE-LABlab(63.20, 44.53, -33.94)
CIE-LCHlch(63.20, 55.99, 322.69°)
OKLaboklab(70.09% 0.1197 -0.0932)
OKLCHoklch(70.09% 0.152 322.1)
XYZxyz(43.7010, 31.8286, 67.4468)
Luminance0.3183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CD6 #88D67C
analogous
#9D7CD6 #CA7CD6 #D67CB5
triadic
#CA7CD6 #D6CA7C #7CD6CA
tetradic
#CA7CD6 #D69D7C #88D67C #7CB5D6
square
#CA7CD6 #D69D7C #88D67C #7CB5D6
split-complementary
#CA7CD6 #B5D67C #7CD69D
monochromatic
#9533A4 #B74DC7 #CA7CD6 #DDABE5 #F0D9F3

Accessibility & contrast

On white

2.85
#CA7CD6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#CA7CD6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CD6
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CD6#FFFFFF#000000##000000
##CA7CD61.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7193D9
Deuteranopia (green-blind)
#869CD3
Tritanopia (blue-blind)
#CC879F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7cd6;
/* rgb */ color: rgb(202, 124, 214);
/* oklch */ color: oklch(70.1% 0.152 322.1);
Tailwind
colors: {
  custom: {
    50: '#dca4e3',
    500: '#ca7cd6',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cd6;
$custom-light: #dca4e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cd6",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 214
  },
  "hsl": {
    "h": 292,
    "s": 52.326,
    "l": 66.275
  },
  "oklch": {
    "l": 0.7009,
    "c": 0.15168,
    "h": 322.1
  },
  "luminance": 0.31827
}

Semantic roles & 50–950 ramp

primary
#CA7CD6
secondary
#CCE6C8
accent
#C0263A
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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