#CA8BDE#CA8BDE

#CA8BDE is a light, vivid purple. Relative luminance 0.363; OKLCH L 72.9% C 0.134 H 317.8°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#CA8BDE
RGBrgb(202, 139, 222)
HSLhsl(286, 56%, 71%)
HSVhsv(286, 37%, 87%)
CMYKcmyk(9%, 37.4%, 0%, 12.9%)
CIE-LABlab(66.75, 38.08, -32.89)
CIE-LCHlch(66.75, 50.32, 319.19°)
OKLaboklab(72.86% 0.0995 -0.0903)
OKLCHoklch(72.86% 0.134 317.8)
XYZxyz(46.7727, 36.2970, 73.6352)
Luminance0.3630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BDE #9FDE8B
analogous
#A08BDE #CA8BDE #DE8BC8
triadic
#CA8BDE #DECA8B #8BDECA
tetradic
#CA8BDE #DEA08B #9FDE8B #8BC8DE
square
#CA8BDE #DEA08B #9FDE8B #8BC8DE
split-complementary
#CA8BDE #C8DE8B #8BDEA0
monochromatic
#9A35BA #B45BD0 #CA8BDE #E0BBEC #F4E7F8

Accessibility & contrast

On white

2.54
#CA8BDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#CA8BDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BDE
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BDE#FFFFFF#000000##000000
##CA8BDE1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca8bde;
/* rgb */ color: rgb(202, 139, 222);
/* oklch */ color: oklch(72.9% 0.134 317.8);
Tailwind
colors: {
  custom: {
    50: '#dbaee8',
    500: '#ca8bde',
    950: '#000000',
  },
}
SCSS
$custom: #ca8bde;
$custom-light: #dbaee8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8bde",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 222
  },
  "hsl": {
    "h": 285.542,
    "s": 55.705,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72864,
    "c": 0.1344,
    "h": 317.8
  },
  "luminance": 0.36296
}

Semantic roles & 50–950 ramp

primary
#CA8BDE
secondary
#DDEED7
accent
#C32249
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA8BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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