#CA7CD2#CA7CD2

#CA7CD2 is a light, vivid purple. Relative luminance 0.316; OKLCH L 69.9% C 0.148 H 323.6°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#CA7CD2
RGBrgb(202, 124, 210)
HSLhsl(294, 49%, 65%)
HSVhsv(294, 41%, 82%)
CMYKcmyk(3.8%, 41%, 0%, 17.6%)
CIE-LABlab(63.03, 43.76, -31.96)
CIE-LCHlch(63.03, 54.19, 323.86°)
OKLaboklab(69.91% 0.1189 -0.0875)
OKLCHoklch(69.91% 0.148 323.6)
XYZxyz(43.1965, 31.6267, 64.7895)
Luminance0.3162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CD2 #84D27C
analogous
#9F7CD2 #CA7CD2 #D27CAF
triadic
#CA7CD2 #D2CA7C #7CD2CA
tetradic
#CA7CD2 #D29F7C #84D27C #7CAFD2
square
#CA7CD2 #D29F7C #84D27C #7CAFD2
split-complementary
#CA7CD2 #AFD27C #7CD29F
monochromatic
#94369D #B84EC2 #CA7CD2 #DCAAE2 #EFD7F1

Accessibility & contrast

On white

2.87
#CA7CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#CA7CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CD2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CD2#FFFFFF#000000##000000
##CA7CD21.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7393D5
Deuteranopia (green-blind)
#879CCF
Tritanopia (blue-blind)
#CD859D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca7cd2;
/* rgb */ color: rgb(202, 124, 210);
/* oklch */ color: oklch(69.9% 0.148 323.6);
Tailwind
colors: {
  custom: {
    50: '#dba4e0',
    500: '#ca7cd2',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cd2;
$custom-light: #dba4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cd2",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 294.419,
    "s": 48.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69909,
    "c": 0.14762,
    "h": 323.6
  },
  "luminance": 0.31625
}

Semantic roles & 50–950 ramp

primary
#CA7CD2
secondary
#C9E3C6
accent
#BC2937
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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