#CA89D7#CA89D7

#CA89D7 is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.2% C 0.130 H 320.7°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#CA89D7
RGBrgb(202, 137, 215)
HSLhsl(290, 49%, 69%)
HSVhsv(290, 36%, 84%)
CMYKcmyk(6%, 36.3%, 0%, 15.7%)
CIE-LABlab(66.02, 37.77, -30.12)
CIE-LCHlch(66.02, 48.31, 321.43°)
OKLaboklab(72.23% 0.1009 -0.0824)
OKLCHoklch(72.23% 0.13 320.7)
XYZxyz(45.5670, 35.3556, 68.7008)
Luminance0.3535 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA89D7 #96D789
analogous
#A389D7 #CA89D7 #D789BD
triadic
#CA89D7 #D7CA89 #89D7CA
tetradic
#CA89D7 #D7A389 #96D789 #89BDD7
square
#CA89D7 #D7A389 #96D789 #89BDD7
split-complementary
#CA89D7 #BDD789 #89D7A3
monochromatic
#993AAB #B55BC8 #CA89D7 #DFB7E6 #F3E4F6

Accessibility & contrast

On white

2.60
#CA89D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#CA89D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA89D7
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA89D7#FFFFFF#000000##000000
##CA89D71.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9CDA
Deuteranopia (green-blind)
#90A3D5
Tritanopia (blue-blind)
#CC92A6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ca89d7;
/* rgb */ color: rgb(202, 137, 215);
/* oklch */ color: oklch(72.2% 0.130 320.7);
Tailwind
colors: {
  custom: {
    50: '#dbace3',
    500: '#ca89d7',
    950: '#000000',
  },
}
SCSS
$custom: #ca89d7;
$custom-light: #dbace3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca89d7",
  "rgb": {
    "r": 202,
    "g": 137,
    "b": 215
  },
  "hsl": {
    "h": 290,
    "s": 49.367,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72227,
    "c": 0.13026,
    "h": 320.7
  },
  "luminance": 0.35354
}

Semantic roles & 50–950 ramp

primary
#CA89D7
secondary
#D6E9D2
accent
#BD2941
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CA89D7

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

Preview Lab → · Contrast checker → · Palette generator →

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