#CA7BD7#CA7BD7

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

Color values

HEX#CA7BD7
RGBrgb(202, 123, 215)
HSLhsl(292, 53%, 66%)
HSVhsv(292, 43%, 84%)
CMYKcmyk(6%, 42.8%, 0%, 15.7%)
CIE-LABlab(63.04, 45.25, -34.75)
CIE-LCHlch(63.04, 57.05, 322.47°)
OKLaboklab(69.98% 0.1213 -0.0955)
OKLCHoklch(69.98% 0.154 321.8)
XYZxyz(43.7044, 31.6304, 68.0799)
Luminance0.3163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BD7 #88D77B
analogous
#9C7BD7 #CA7BD7 #D77BB6
triadic
#CA7BD7 #D7CA7B #7BD7CA
tetradic
#CA7BD7 #D79C7B #88D77B #7BB6D7
square
#CA7BD7 #D79C7B #88D77B #7BB6D7
split-complementary
#CA7BD7 #B6D77B #7BD79C
monochromatic
#9532A5 #B74CC9 #CA7BD7 #DDAAE5 #F0D9F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA7BD7#FFFFFF#000000##000000
##CA7BD71.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F93DA
Deuteranopia (green-blind)
#849CD4
Tritanopia (blue-blind)
#CC869F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7bd7;
/* rgb */ color: rgb(202, 123, 215);
/* oklch */ color: oklch(70.0% 0.154 321.8);
Tailwind
colors: {
  custom: {
    50: '#dca3e3',
    500: '#ca7bd7',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bd7;
$custom-light: #dca3e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bd7",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 215
  },
  "hsl": {
    "h": 291.522,
    "s": 53.488,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69981,
    "c": 0.1544,
    "h": 321.8
  },
  "luminance": 0.31629
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA7BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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