#CA7CD3#CA7CD3

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

Color values

HEX#CA7CD3
RGBrgb(202, 124, 211)
HSLhsl(294, 50%, 66%)
HSVhsv(294, 41%, 83%)
CMYKcmyk(4.3%, 41.2%, 0%, 17.3%)
CIE-LABlab(63.07, 43.95, -32.45)
CIE-LCHlch(63.07, 54.63, 323.56°)
OKLaboklab(69.95% 0.1191 -0.089)
OKLCHoklch(69.95% 0.149 323.2)
XYZxyz(43.3214, 31.6767, 65.4476)
Luminance0.3167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CD3 #85D37C
analogous
#9E7CD3 #CA7CD3 #D37CB0
triadic
#CA7CD3 #D3CA7C #7CD3CA
tetradic
#CA7CD3 #D39E7C #85D37C #7CB0D3
square
#CA7CD3 #D39E7C #85D37C #7CB0D3
split-complementary
#CA7CD3 #B0D37C #7CD39E
monochromatic
#94359F #B74EC4 #CA7CD3 #DDAAE2 #EFD8F2

Accessibility & contrast

On white

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

On black

7.33
#CA7CD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CD3
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CD3#FFFFFF#000000##000000
##CA7CD31.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7293D6
Deuteranopia (green-blind)
#879CD0
Tritanopia (blue-blind)
#CD869E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7cd3;
/* rgb */ color: rgb(202, 124, 211);
/* oklch */ color: oklch(70.0% 0.149 323.2);
Tailwind
colors: {
  custom: {
    50: '#dba4e0',
    500: '#ca7cd3',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cd3;
$custom-light: #dba4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cd3",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 211
  },
  "hsl": {
    "h": 293.793,
    "s": 49.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.69954,
    "c": 0.14863,
    "h": 323.2
  },
  "luminance": 0.31675
}

Semantic roles & 50–950 ramp

primary
#CA7CD3
secondary
#CAE4C7
accent
#BD2838
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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