#CA7CD7#CA7CD7

#CA7CD7 is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.1% C 0.153 H 321.7°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#CA7CD7
RGBrgb(202, 124, 215)
HSLhsl(291, 53%, 66%)
HSVhsv(291, 42%, 84%)
CMYKcmyk(6%, 42.3%, 0%, 15.7%)
CIE-LABlab(63.24, 44.72, -34.43)
CIE-LCHlch(63.24, 56.44, 322.41°)
OKLaboklab(70.14% 0.1199 -0.0946)
OKLCHoklch(70.14% 0.153 321.7)
XYZxyz(43.8291, 31.8798, 68.1215)
Luminance0.3188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CD7 #89D77C
analogous
#9D7CD7 #CA7CD7 #D77CB7
triadic
#CA7CD7 #D7CA7C #7CD7CA
tetradic
#CA7CD7 #D79D7C #89D77C #7CB7D7
square
#CA7CD7 #D79D7C #89D77C #7CB7D7
split-complementary
#CA7CD7 #B7D77C #7CD79D
monochromatic
#9533A6 #B74DC9 #CA7CD7 #DDABE5 #F0DAF4

Accessibility & contrast

On white

2.85
#CA7CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#CA7CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CD7
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CD7#FFFFFF#000000##000000
##CA7CD71.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7093DA
Deuteranopia (green-blind)
#859CD4
Tritanopia (blue-blind)
#CC879F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7cd7;
/* rgb */ color: rgb(202, 124, 215);
/* oklch */ color: oklch(70.1% 0.153 321.7);
Tailwind
colors: {
  custom: {
    50: '#dca4e3',
    500: '#ca7cd7',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cd7;
$custom-light: #dca4e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cd7",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 215
  },
  "hsl": {
    "h": 291.429,
    "s": 53.216,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70136,
    "c": 0.1527,
    "h": 321.7
  },
  "luminance": 0.31878
}

Semantic roles & 50–950 ramp

primary
#CA7CD7
secondary
#CDE6C9
accent
#C1253B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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