#CA7DCA#CA7DCA

#CA7DCA is a light, vivid purple. Relative luminance 0.315; OKLCH L 69.7% C 0.138 H 326.9°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#CA7DCA
RGBrgb(202, 125, 202)
HSLhsl(300, 42%, 64%)
HSVhsv(300, 38%, 79%)
CMYKcmyk(0%, 38.1%, 0%, 20.8%)
CIE-LABlab(62.92, 41.73, -27.64)
CIE-LCHlch(62.92, 50.05, 326.48°)
OKLaboklab(69.72% 0.1156 -0.0753)
OKLCHoklch(69.72% 0.138 326.9)
XYZxyz(42.3506, 31.4899, 59.7130)
Luminance0.3149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DCA #7DCA7D
analogous
#A47DCA #CA7DCA #CA7DA4
triadic
#CA7DCA #CACA7D #7DCACA
tetradic
#CA7DCA #CAA47D #7DCA7D #7DA4CA
square
#CA7DCA #CAA47D #7DCA7D #7DA4CA
split-complementary
#CA7DCA #A4CA7D #7DCAA4
monochromatic
#913B91 #B852B8 #CA7DCA #DCA8DC #EDD4ED

Accessibility & contrast

On white

2.88
#CA7DCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#CA7DCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DCA
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DCA#FFFFFF#000000##000000
##CA7DCA1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7792CD
Deuteranopia (green-blind)
#8B9CC7
Tritanopia (blue-blind)
#CE849A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca7dca;
/* rgb */ color: rgb(202, 125, 202);
/* oklch */ color: oklch(69.7% 0.138 326.9);
Tailwind
colors: {
  custom: {
    50: '#dba4da',
    500: '#ca7dca',
    950: '#000000',
  },
}
SCSS
$custom: #ca7dca;
$custom-light: #dba4da;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7dca",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 202
  },
  "hsl": {
    "h": 300,
    "s": 42.077,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69717,
    "c": 0.13798,
    "h": 326.9
  },
  "luminance": 0.31488
}

Semantic roles & 50–950 ramp

primary
#CA7DCA
secondary
#C4DFC4
accent
#B53030
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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