#CA7ABD#CA7ABD

#CA7ABD is a light, vivid purple. Relative luminance 0.301; OKLCH L 68.7% C 0.131 H 333.0°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#CA7ABD
RGBrgb(202, 122, 189)
HSLhsl(310, 43%, 64%)
HSVhsv(310, 40%, 79%)
CMYKcmyk(0%, 39.6%, 6.4%, 20.8%)
CIE-LABlab(61.79, 40.97, -22.04)
CIE-LCHlch(61.79, 46.52, 331.73°)
OKLaboklab(68.7% 0.1169 -0.0595)
OKLCHoklch(68.7% 0.131 333)
XYZxyz(40.5016, 30.1519, 51.8208)
Luminance0.3015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7ABD #7ACA87
analogous
#AF7ACA #CA7ABD #CA7A95
triadic
#CA7ABD #BDCA7A #7ABDCA
tetradic
#CA7ABD #CAAF7A #7ACA87 #7A95CA
square
#CA7ABD #CAAF7A #7ACA87 #7A95CA
split-complementary
#CA7ABD #95CA7A #7ACAAF
monochromatic
#903982 #B94EA7 #CA7ABD #DBA6D3 #EDD2E8

Accessibility & contrast

On white

2.99
#CA7ABD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#CA7ABD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7ABD
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7ABD#FFFFFF#000000##000000
##CA7ABD1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#798EBF
Deuteranopia (green-blind)
#8E99BB
Tritanopia (blue-blind)
#D17E93
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca7abd;
/* rgb */ color: rgb(202, 122, 189);
/* oklch */ color: oklch(68.7% 0.131 333.0);
Tailwind
colors: {
  custom: {
    50: '#dba2d1',
    500: '#ca7abd',
    950: '#000000',
  },
}
SCSS
$custom: #ca7abd;
$custom-light: #dba2d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7abd",
  "rgb": {
    "r": 202,
    "g": 122,
    "b": 189
  },
  "hsl": {
    "h": 309.75,
    "s": 43.011,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68699,
    "c": 0.13119,
    "h": 333
  },
  "luminance": 0.3015
}

Semantic roles & 50–950 ramp

primary
#CA7ABD
secondary
#C2DEC6
accent
#B6452F
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CA7ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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