#CA89E7#CA89E7

#CA89E7 is a light, vivid purple. Relative luminance 0.362; OKLCH L 72.9% C 0.148 H 314.9°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#CA89E7
RGBrgb(202, 137, 231)
HSLhsl(281, 66%, 72%)
HSVhsv(281, 41%, 91%)
CMYKcmyk(12.6%, 40.7%, 0%, 9.4%)
CIE-LABlab(66.69, 41.00, -37.95)
CIE-LCHlch(66.69, 55.87, 317.21°)
OKLaboklab(72.94% 0.1043 -0.1048)
OKLCHoklch(72.94% 0.148 314.9)
XYZxyz(47.7243, 36.2185, 80.0626)
Luminance0.3622 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA89E7 #A6E789
analogous
#9B89E7 #CA89E7 #E789D5
triadic
#CA89E7 #E7CA89 #89E7CA
tetradic
#CA89E7 #E79B89 #A6E789 #89D5E7
square
#CA89E7 #E79B89 #A6E789 #89D5E7
split-complementary
#CA89E7 #D5E789 #89E79B
monochromatic
#9A2ACC #B356DD #CA89E7 #E1BCF1 #F4E6FA

Accessibility & contrast

On white

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

On black

8.24
#CA89E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA89E7
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA89E7#FFFFFF#000000##000000
##CA89E71.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#799EEA
Deuteranopia (green-blind)
#89A4E4
Tritanopia (blue-blind)
#C896AD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca89e7;
/* rgb */ color: rgb(202, 137, 231);
/* oklch */ color: oklch(72.9% 0.148 314.9);
Tailwind
colors: {
  custom: {
    50: '#dbacef',
    500: '#ca89e7',
    950: '#000000',
  },
}
SCSS
$custom: #ca89e7;
$custom-light: #dbacef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca89e7",
  "rgb": {
    "r": 202,
    "g": 137,
    "b": 231
  },
  "hsl": {
    "h": 281.489,
    "s": 66.197,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72943,
    "c": 0.14785,
    "h": 314.9
  },
  "luminance": 0.36217
}

Semantic roles & 50–950 ramp

primary
#CA89E7
secondary
#E1F1DA
accent
#CE1750
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA89E7

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

Preview Lab → · Contrast checker → · Palette generator →

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