#CA7DC4#CA7DC4

#CA7DC4 is a light, vivid purple. Relative luminance 0.312; OKLCH L 69.5% C 0.132 H 329.7°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#CA7DC4
RGBrgb(202, 125, 196)
HSLhsl(305, 42%, 64%)
HSVhsv(305, 38%, 79%)
CMYKcmyk(0%, 38.1%, 3%, 20.8%)
CIE-LABlab(62.69, 40.63, -24.62)
CIE-LCHlch(62.69, 47.50, 328.79°)
OKLaboklab(69.46% 0.1142 -0.0668)
OKLCHoklch(69.46% 0.132 329.7)
XYZxyz(41.6539, 31.2113, 56.0441)
Luminance0.3121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DC4 #7DCA83
analogous
#AA7DCA #CA7DC4 #CA7D9E
triadic
#CA7DC4 #C4CA7D #7DC4CA
tetradic
#CA7DC4 #CAAA7D #7DCA83 #7D9ECA
square
#CA7DC4 #CAAA7D #7DCA83 #7D9ECA
split-complementary
#CA7DC4 #9ECA7D #7DCAAA
monochromatic
#913B8B #B852B0 #CA7DC4 #DCA8D8 #EDD4EB

Accessibility & contrast

On white

2.90
#CA7DC4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#CA7DC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DC4
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DC4#FFFFFF#000000##000000
##CA7DC41.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7991C7
Deuteranopia (green-blind)
#8D9BC2
Tritanopia (blue-blind)
#CF8398
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca7dc4;
/* rgb */ color: rgb(202, 125, 196);
/* oklch */ color: oklch(69.5% 0.132 329.7);
Tailwind
colors: {
  custom: {
    50: '#dba4d6',
    500: '#ca7dc4',
    950: '#000000',
  },
}
SCSS
$custom: #ca7dc4;
$custom-light: #dba4d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7dc4",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 196
  },
  "hsl": {
    "h": 304.675,
    "s": 42.077,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69464,
    "c": 0.13226,
    "h": 329.7
  },
  "luminance": 0.31209
}

Semantic roles & 50–950 ramp

primary
#CA7DC4
secondary
#C4DFC6
accent
#B53B30
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CA7DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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