#CA7CD1#CA7CD1

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

Color values

HEX#CA7CD1
RGBrgb(202, 124, 209)
HSLhsl(295, 48%, 65%)
HSVhsv(295, 41%, 82%)
CMYKcmyk(3.3%, 40.7%, 0%, 18%)
CIE-LABlab(62.99, 43.57, -31.46)
CIE-LCHlch(62.99, 53.74, 324.17°)
OKLaboklab(69.86% 0.1187 -0.0861)
OKLCHoklch(69.86% 0.147 324)
XYZxyz(43.0723, 31.5771, 64.1354)
Luminance0.3157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7CD1 #83D17C
analogous
#9F7CD1 #CA7CD1 #D17CAD
triadic
#CA7CD1 #D1CA7C #7CD1CA
tetradic
#CA7CD1 #D19F7C #83D17C #7CADD1
square
#CA7CD1 #D19F7C #83D17C #7CADD1
split-complementary
#CA7CD1 #ADD17C #7CD19F
monochromatic
#94379C #B84FC1 #CA7CD1 #DCA9E1 #EFD7F1

Accessibility & contrast

On white

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

On black

7.31
#CA7CD1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7CD1
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7CD1#FFFFFF#000000##000000
##CA7CD11.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7392D4
Deuteranopia (green-blind)
#889CCE
Tritanopia (blue-blind)
#CD859D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca7cd1;
/* rgb */ color: rgb(202, 124, 209);
/* oklch */ color: oklch(69.9% 0.147 324.0);
Tailwind
colors: {
  custom: {
    50: '#dba4df',
    500: '#ca7cd1',
    950: '#000000',
  },
}
SCSS
$custom: #ca7cd1;
$custom-light: #dba4df;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7cd1",
  "rgb": {
    "r": 202,
    "g": 124,
    "b": 209
  },
  "hsl": {
    "h": 295.059,
    "s": 48.023,
    "l": 65.294
  },
  "oklch": {
    "l": 0.69865,
    "c": 0.14662,
    "h": 324
  },
  "luminance": 0.31575
}

Semantic roles & 50–950 ramp

primary
#CA7CD1
secondary
#C8E3C6
accent
#BB2A36
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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