#CA7CD4#CA7CD4

#CA7CD4 is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.0% C 0.150 H 322.8°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#CA7CD4
RGBrgb(202, 124, 212)
HSLhsl(293, 51%, 66%)
HSVhsv(293, 42%, 83%)
CMYKcmyk(4.7%, 41.5%, 0%, 16.9%)
CIE-LABlab(63.12, 44.14, -32.95)
CIE-LCHlch(63.12, 55.08, 323.26°)
OKLaboklab(70% 0.1193 -0.0904)
OKLCHoklch(70% 0.15 322.8)
XYZxyz(43.4472, 31.7270, 66.1099)
Luminance0.3172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CD4 #86D47C
analogous
#9E7CD4 #CA7CD4 #D47CB2
triadic
#CA7CD4 #D4CA7C #7CD4CA
tetradic
#CA7CD4 #D49E7C #86D47C #7CB2D4
square
#CA7CD4 #D49E7C #86D47C #7CB2D4
split-complementary
#CA7CD4 #B2D47C #7CD49E
monochromatic
#9535A1 #B74EC5 #CA7CD4 #DDAAE3 #EFD8F2

Accessibility & contrast

On white

2.86
#CA7CD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#CA7CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CD4
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CD4#FFFFFF#000000##000000
##CA7CD41.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7293D7
Deuteranopia (green-blind)
#869CD1
Tritanopia (blue-blind)
#CD869E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7cd4;
/* rgb */ color: rgb(202, 124, 212);
/* oklch */ color: oklch(70.0% 0.150 322.8);
Tailwind
colors: {
  custom: {
    50: '#dba4e1',
    500: '#ca7cd4',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cd4;
$custom-light: #dba4e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cd4",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 293.182,
    "s": 50.575,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69999,
    "c": 0.14964,
    "h": 322.8
  },
  "luminance": 0.31725
}

Semantic roles & 50–950 ramp

primary
#CA7CD4
secondary
#CBE4C7
accent
#BE2839
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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