#CA8BCA#CA8BCA

#CA8BCA is a light, moderate purple. Relative luminance 0.353; OKLCH L 72.0% C 0.113 H 326.7°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#CA8BCA
RGBrgb(202, 139, 202)
HSLhsl(300, 37%, 67%)
HSVhsv(300, 31%, 79%)
CMYKcmyk(0%, 31.2%, 0%, 20.8%)
CIE-LABlab(65.97, 34.19, -22.95)
CIE-LCHlch(65.97, 41.18, 326.13°)
OKLaboklab(72.02% 0.0946 -0.0622)
OKLCHoklch(72.02% 0.113 326.7)
XYZxyz(44.2494, 35.2877, 60.3460)
Luminance0.3529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BCA #8BCA8B
analogous
#AB8BCA #CA8BCA #CA8BAB
triadic
#CA8BCA #CACA8B #8BCACA
tetradic
#CA8BCA #CAAB8B #8BCA8B #8BABCA
square
#CA8BCA #CAAB8B #8BCA8B #8BABCA
split-complementary
#CA8BCA #ABCA8B #8BCAAB
monochromatic
#964596 #B761B7 #CA8BCA #DDB5DD #F0DFF0

Accessibility & contrast

On white

2.61
#CA8BCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#CA8BCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BCA
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BCA#FFFFFF#000000##000000
##CA8BCA1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#879BCC
Deuteranopia (green-blind)
#96A3C8
Tritanopia (blue-blind)
#CE91A2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ca8bca;
/* rgb */ color: rgb(202, 139, 202);
/* oklch */ color: oklch(72.0% 0.113 326.7);
Tailwind
colors: {
  custom: {
    50: '#dbaeda',
    500: '#ca8bca',
    950: '#000000',
  },
}
SCSS
$custom: #ca8bca;
$custom-light: #dbaeda;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8bca",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 202
  },
  "hsl": {
    "h": 300,
    "s": 37.278,
    "l": 66.863
  },
  "oklch": {
    "l": 0.72023,
    "c": 0.11319,
    "h": 326.7
  },
  "luminance": 0.35286
}

Semantic roles & 50–950 ramp

primary
#CA8BCA
secondary
#CEE2CE
accent
#B03535
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #CA8BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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