#CA8BDD#CA8BDD

#CA8BDD is a light, vivid purple. Relative luminance 0.362; OKLCH L 72.8% C 0.133 H 318.2°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#CA8BDD
RGBrgb(202, 139, 221)
HSLhsl(286, 55%, 71%)
HSVhsv(286, 37%, 87%)
CMYKcmyk(8.6%, 37.1%, 0%, 13.3%)
CIE-LABlab(66.71, 37.88, -32.39)
CIE-LCHlch(66.71, 49.85, 319.47°)
OKLaboklab(72.82% 0.0993 -0.0889)
OKLCHoklch(72.82% 0.133 318.2)
XYZxyz(46.6391, 36.2435, 72.9315)
Luminance0.3624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BDD #9EDD8B
analogous
#A18BDD #CA8BDD #DD8BC7
triadic
#CA8BDD #DDCA8B #8BDDCA
tetradic
#CA8BDD #DDA18B #9EDD8B #8BC7DD
square
#CA8BDD #DDA18B #9EDD8B #8BC7DD
split-complementary
#CA8BDD #C7DD8B #8BDDA1
monochromatic
#9A36B8 #B45CCF #CA8BDD #E0BAEB #F4E7F8

Accessibility & contrast

On white

2.55
#CA8BDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#CA8BDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BDD
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BDD#FFFFFF#000000##000000
##CA8BDD1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9EE0
Deuteranopia (green-blind)
#8FA4DA
Tritanopia (blue-blind)
#CA95AA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca8bdd;
/* rgb */ color: rgb(202, 139, 221);
/* oklch */ color: oklch(72.8% 0.133 318.2);
Tailwind
colors: {
  custom: {
    50: '#dbaee8',
    500: '#ca8bdd',
    950: '#000000',
  },
}
SCSS
$custom: #ca8bdd;
$custom-light: #dbaee8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8bdd",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 221
  },
  "hsl": {
    "h": 286.098,
    "s": 54.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7282,
    "c": 0.13329,
    "h": 318.2
  },
  "luminance": 0.36242
}

Semantic roles & 50–950 ramp

primary
#CA8BDD
secondary
#DCEDD7
accent
#C22348
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA8BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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