#CA7DC6#CA7DC6

#CA7DC6 is a light, vivid purple. Relative luminance 0.313; OKLCH L 69.5% C 0.134 H 328.7°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#CA7DC6
RGBrgb(202, 125, 198)
HSLhsl(303, 42%, 64%)
HSVhsv(303, 38%, 79%)
CMYKcmyk(0%, 38.1%, 2%, 20.8%)
CIE-LABlab(62.76, 40.99, -25.63)
CIE-LCHlch(62.76, 48.34, 327.99°)
OKLaboklab(69.55% 0.1147 -0.0696)
OKLCHoklch(69.55% 0.134 328.7)
XYZxyz(41.8831, 31.3029, 57.2510)
Luminance0.3130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DC6 #7DCA81
analogous
#A87DCA #CA7DC6 #CA7DA0
triadic
#CA7DC6 #C6CA7D #7DC6CA
tetradic
#CA7DC6 #CAA87D #7DCA81 #7DA0CA
square
#CA7DC6 #CAA87D #7DCA81 #7DA0CA
split-complementary
#CA7DC6 #A0CA7D #7DCAA8
monochromatic
#913B8D #B852B3 #CA7DC6 #DCA8D9 #EDD4EC

Accessibility & contrast

On white

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

On black

7.26
#CA7DC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DC6
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DC6#FFFFFF#000000##000000
##CA7DC61.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca7dc6;
/* rgb */ color: rgb(202, 125, 198);
/* oklch */ color: oklch(69.5% 0.134 328.7);
Tailwind
colors: {
  custom: {
    50: '#dba4d7',
    500: '#ca7dc6',
    950: '#000000',
  },
}
SCSS
$custom: #ca7dc6;
$custom-light: #dba4d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7dc6",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 198
  },
  "hsl": {
    "h": 303.117,
    "s": 42.077,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69548,
    "c": 0.13415,
    "h": 328.7
  },
  "luminance": 0.31301
}

Semantic roles & 50–950 ramp

primary
#CA7DC6
secondary
#C4DFC5
accent
#B53730
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CA7DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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