#CA7BD6#CA7BD6

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

Color values

HEX#CA7BD6
RGBrgb(202, 123, 214)
HSLhsl(292, 53%, 66%)
HSVhsv(292, 43%, 84%)
CMYKcmyk(5.6%, 42.5%, 0%, 16.1%)
CIE-LABlab(62.99, 45.05, -34.26)
CIE-LCHlch(62.99, 56.60, 322.75°)
OKLaboklab(69.94% 0.1211 -0.0941)
OKLCHoklch(69.94% 0.153 322.1)
XYZxyz(43.5763, 31.5792, 67.4053)
Luminance0.3158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BD6 #87D67B
analogous
#9C7BD6 #CA7BD6 #D67BB4
triadic
#CA7BD6 #D6CA7B #7BD6CA
tetradic
#CA7BD6 #D69C7B #87D67B #7BB4D6
square
#CA7BD6 #D69C7B #87D67B #7BB4D6
split-complementary
#CA7BD6 #B4D67B #7BD69C
monochromatic
#9533A4 #B74CC7 #CA7BD6 #DDAAE5 #EFD8F3

Accessibility & contrast

On white

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

On black

7.32
#CA7BD6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7BD6
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BD6#FFFFFF#000000##000000
##CA7BD61.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7093D9
Deuteranopia (green-blind)
#859CD3
Tritanopia (blue-blind)
#CC869E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca7bd6;
/* rgb */ color: rgb(202, 123, 214);
/* oklch */ color: oklch(69.9% 0.153 322.1);
Tailwind
colors: {
  custom: {
    50: '#dca3e3',
    500: '#ca7bd6',
    950: '#000000',
  },
}
SCSS
$custom: #ca7bd6;
$custom-light: #dca3e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7bd6",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 214
  },
  "hsl": {
    "h": 292.088,
    "s": 52.601,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69935,
    "c": 0.15337,
    "h": 322.1
  },
  "luminance": 0.31578
}

Semantic roles & 50–950 ramp

primary
#CA7BD6
secondary
#CBE5C7
accent
#C0253A
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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