#CA7BDD#CA7BDD

#CA7BDD is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.3% C 0.161 H 319.6°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#CA7BDD
RGBrgb(202, 123, 221)
HSLhsl(288, 59%, 67%)
HSVhsv(288, 44%, 87%)
CMYKcmyk(8.6%, 44.3%, 0%, 13.3%)
CIE-LABlab(63.30, 46.42, -37.70)
CIE-LCHlch(63.30, 59.80, 320.92°)
OKLaboklab(70.26% 0.1224 -0.104)
OKLCHoklch(70.26% 0.161 319.6)
XYZxyz(44.4896, 31.9445, 72.2149)
Luminance0.3194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BDD #8EDD7B
analogous
#997BDD #CA7BDD #DD7BBF
triadic
#CA7BDD #DDCA7B #7BDDCA
tetradic
#CA7BDD #DD997B #8EDD7B #7BBFDD
square
#CA7BDD #DD997B #8EDD7B #7BBFDD
split-complementary
#CA7BDD #BFDD7B #7BDD99
monochromatic
#972DB0 #B64AD0 #CA7BDD #DEACEA #F1DCF6

Accessibility & contrast

On white

2.84
#CA7BDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#CA7BDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BDD
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BDD#FFFFFF#000000##000000
##CA7BDD1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C94E0
Deuteranopia (green-blind)
#829CDA
Tritanopia (blue-blind)
#CB88A2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7bdd;
/* rgb */ color: rgb(202, 123, 221);
/* oklch */ color: oklch(70.3% 0.161 319.6);
Tailwind
colors: {
  custom: {
    50: '#dca3e8',
    500: '#ca7bdd',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bdd;
$custom-light: #dca3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bdd",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 221
  },
  "hsl": {
    "h": 288.367,
    "s": 59.036,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70261,
    "c": 0.16059,
    "h": 319.6
  },
  "luminance": 0.31943
}

Semantic roles & 50–950 ramp

primary
#CA7BDD
secondary
#D1E9CB
accent
#C71F3F
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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