#CA7CD5#CA7CD5

#CA7CD5 is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.0% C 0.151 H 322.5°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#CA7CD5
RGBrgb(202, 124, 213)
HSLhsl(293, 51%, 66%)
HSVhsv(293, 42%, 84%)
CMYKcmyk(5.2%, 41.8%, 0%, 16.5%)
CIE-LABlab(63.16, 44.34, -33.44)
CIE-LCHlch(63.16, 55.53, 322.97°)
OKLaboklab(70.04% 0.1195 -0.0918)
OKLCHoklch(70.04% 0.151 322.5)
XYZxyz(43.5737, 31.7776, 66.7763)
Luminance0.3178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CD5 #87D57C
analogous
#9D7CD5 #CA7CD5 #D57CB3
triadic
#CA7CD5 #D5CA7C #7CD5CA
tetradic
#CA7CD5 #D59D7C #87D57C #7CB3D5
square
#CA7CD5 #D59D7C #87D57C #7CB3D5
split-complementary
#CA7CD5 #B3D57C #7CD59D
monochromatic
#9534A2 #B74EC6 #CA7CD5 #DDAAE4 #EFD9F3

Accessibility & contrast

On white

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

On black

7.36
#CA7CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CD5
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CD5#FFFFFF#000000##000000
##CA7CD51.002.867.367.36
#FFFFFF2.861.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7193D8
Deuteranopia (green-blind)
#869CD2
Tritanopia (blue-blind)
#CC869F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7cd5;
/* rgb */ color: rgb(202, 124, 213);
/* oklch */ color: oklch(70.0% 0.151 322.5);
Tailwind
colors: {
  custom: {
    50: '#dca4e2',
    500: '#ca7cd5',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cd5;
$custom-light: #dca4e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cd5",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 292.584,
    "s": 51.445,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70044,
    "c": 0.15066,
    "h": 322.5
  },
  "luminance": 0.31776
}

Semantic roles & 50–950 ramp

primary
#CA7CD5
secondary
#CBE5C8
accent
#BF2739
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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