#CA89DC#CA89DC

#CA89DC is a light, vivid purple. Relative luminance 0.356; OKLCH L 72.4% C 0.136 H 318.8°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#CA89DC
RGBrgb(202, 137, 220)
HSLhsl(287, 54%, 70%)
HSVhsv(287, 38%, 86%)
CMYKcmyk(8.2%, 37.7%, 0%, 13.7%)
CIE-LABlab(66.23, 38.76, -32.58)
CIE-LCHlch(66.23, 50.64, 319.95°)
OKLaboklab(72.45% 0.102 -0.0894)
OKLCHoklch(72.45% 0.136 318.8)
XYZxyz(46.2193, 35.6165, 72.1362)
Luminance0.3562 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA89DC #9BDC89
analogous
#A189DC #CA89DC #DC89C4
triadic
#CA89DC #DCCA89 #89DCCA
tetradic
#CA89DC #DCA189 #9BDC89 #89C4DC
square
#CA89DC #DCA189 #9BDC89 #89C4DC
split-complementary
#CA89DC #C4DC89 #89DCA1
monochromatic
#9936B5 #B55ACE #CA89DC #DFB8EA #F4E7F8

Accessibility & contrast

On white

2.59
#CA89DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#CA89DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA89DC
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA89DC#FFFFFF#000000##000000
##CA89DC1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9DDF
Deuteranopia (green-blind)
#8EA3D9
Tritanopia (blue-blind)
#CB93A8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ca89dc;
/* rgb */ color: rgb(202, 137, 220);
/* oklch */ color: oklch(72.4% 0.136 318.8);
Tailwind
colors: {
  custom: {
    50: '#dbace7',
    500: '#ca89dc',
    950: '#000000',
  },
}
SCSS
$custom: #ca89dc;
$custom-light: #dbace7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca89dc",
  "rgb": {
    "r": 202,
    "g": 137,
    "b": 220
  },
  "hsl": {
    "h": 286.988,
    "s": 54.248,
    "l": 70
  },
  "oklch": {
    "l": 0.72445,
    "c": 0.13567,
    "h": 318.8
  },
  "luminance": 0.35615
}

Semantic roles & 50–950 ramp

primary
#CA89DC
secondary
#DAECD5
accent
#C22446
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA89DC

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

Preview Lab → · Contrast checker → · Palette generator →

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