#CA7CD8#CA7CD8

#CA7CD8 is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.2% C 0.154 H 321.3°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#CA7CD8
RGBrgb(202, 124, 216)
HSLhsl(291, 54%, 67%)
HSVhsv(291, 43%, 85%)
CMYKcmyk(6.5%, 42.6%, 0%, 15.3%)
CIE-LABlab(63.29, 44.92, -34.92)
CIE-LCHlch(63.29, 56.89, 322.13°)
OKLaboklab(70.18% 0.12 -0.096)
OKLCHoklch(70.18% 0.154 321.3)
XYZxyz(43.9580, 31.9314, 68.8003)
Luminance0.3193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CD8 #8AD87C
analogous
#9C7CD8 #CA7CD8 #D87CB8
triadic
#CA7CD8 #D8CA7C #7CD8CA
tetradic
#CA7CD8 #D89C7C #8AD87C #7CB8D8
square
#CA7CD8 #D89C7C #8AD87C #7CB8D8
split-complementary
#CA7CD8 #B8D87C #7CD89C
monochromatic
#9632A8 #B74DCA #CA7CD8 #DDABE6 #F0DAF4

Accessibility & contrast

On white

2.84
#CA7CD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#CA7CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CD8
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CD8#FFFFFF#000000##000000
##CA7CD81.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7094DB
Deuteranopia (green-blind)
#859CD5
Tritanopia (blue-blind)
#CC87A0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7cd8;
/* rgb */ color: rgb(202, 124, 216);
/* oklch */ color: oklch(70.2% 0.154 321.3);
Tailwind
colors: {
  custom: {
    50: '#dca4e4',
    500: '#ca7cd8',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cd8;
$custom-light: #dca4e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cd8",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 216
  },
  "hsl": {
    "h": 290.87,
    "s": 54.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70182,
    "c": 0.15372,
    "h": 321.3
  },
  "luminance": 0.3193
}

Semantic roles & 50–950 ramp

primary
#CA7CD8
secondary
#CEE7C9
accent
#C2243C
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CA7CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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