#CA7DCB#CA7DCB

#CA7DCB is a light, vivid purple. Relative luminance 0.315; OKLCH L 69.8% C 0.139 H 326.5°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#CA7DCB
RGBrgb(202, 125, 203)
HSLhsl(299, 43%, 64%)
HSVhsv(299, 38%, 80%)
CMYKcmyk(0.5%, 38.4%, 0%, 20.4%)
CIE-LABlab(62.96, 41.91, -28.14)
CIE-LCHlch(62.96, 50.48, 326.12°)
OKLaboklab(69.76% 0.1159 -0.0767)
OKLCHoklch(69.76% 0.139 326.5)
XYZxyz(42.4693, 31.5374, 60.3386)
Luminance0.3154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7DCB #7ECB7D
analogous
#A37DCB #CA7DCB #CB7DA5
triadic
#CA7DCB #CBCA7D #7DCBCA
tetradic
#CA7DCB #CBA37D #7ECB7D #7DA5CB
square
#CA7DCB #CBA37D #7ECB7D #7DA5CB
split-complementary
#CA7DCB #A5CB7D #7DCBA3
monochromatic
#923B93 #B851BA #CA7DCB #DCA9DC #EED4EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA7DCB#FFFFFF#000000##000000
##CA7DCB1.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)
#7792CE
Deuteranopia (green-blind)
#8B9CC8
Tritanopia (blue-blind)
#CE859B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca7dcb;
/* rgb */ color: rgb(202, 125, 203);
/* oklch */ color: oklch(69.8% 0.139 326.5);
Tailwind
colors: {
  custom: {
    50: '#dba4db',
    500: '#ca7dcb',
    950: '#000000',
  },
}
SCSS
$custom: #ca7dcb;
$custom-light: #dba4db;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7dcb",
  "rgb": {
    "r": 202,
    "g": 125,
    "b": 203
  },
  "hsl": {
    "h": 299.231,
    "s": 42.857,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6976,
    "c": 0.13895,
    "h": 326.5
  },
  "luminance": 0.31536
}

Semantic roles & 50–950 ramp

primary
#CA7DCB
secondary
#C5DFC4
accent
#B63031
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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