#CA7DD7#CA7DD7

#CA7DD7 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.3% C 0.151 H 321.6°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CA7DD7
RGBrgb(202, 125, 215)
HSLhsl(291, 53%, 67%)
HSVhsv(291, 42%, 84%)
CMYKcmyk(6%, 41.9%, 0%, 15.7%)
CIE-LABlab(63.45, 44.19, -34.11)
CIE-LCHlch(63.45, 55.82, 322.34°)
OKLaboklab(70.29% 0.1184 -0.0937)
OKLCHoklch(70.29% 0.151 321.6)
XYZxyz(43.9551, 32.1317, 68.1635)
Luminance0.3213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DD7 #8AD77D
analogous
#9D7DD7 #CA7DD7 #D77DB7
triadic
#CA7DD7 #D7CA7D #7DD7CA
tetradic
#CA7DD7 #D79D7D #8AD77D #7DB7D7
square
#CA7DD7 #D79D7D #8AD77D #7DB7D7
split-complementary
#CA7DD7 #B7D77D #7DD79D
monochromatic
#9633A6 #B74EC9 #CA7DD7 #DDACE5 #F0DBF4

Accessibility & contrast

On white

2.83
#CA7DD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#CA7DD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7DD7
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7DD7#FFFFFF#000000##000000
##CA7DD71.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7194DA
Deuteranopia (green-blind)
#869DD4
Tritanopia (blue-blind)
#CC88A0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca7dd7;
/* rgb */ color: rgb(202, 125, 215);
/* oklch */ color: oklch(70.3% 0.151 321.6);
Tailwind
colors: {
  custom: {
    50: '#dca4e3',
    500: '#ca7dd7',
    950: '#000000',
  },
}
SCSS
$custom: #ca7dd7;
$custom-light: #dca4e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7dd7",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 215
  },
  "hsl": {
    "h": 291.333,
    "s": 52.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70291,
    "c": 0.151,
    "h": 321.6
  },
  "luminance": 0.3213
}

Semantic roles & 50–950 ramp

primary
#CA7DD7
secondary
#CEE6C9
accent
#C0253C
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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