#CA89E8#CA89E8

#CA89E8 is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.0% C 0.149 H 314.5°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#CA89E8
RGBrgb(202, 137, 232)
HSLhsl(281, 67%, 72%)
HSVhsv(281, 41%, 91%)
CMYKcmyk(12.9%, 40.9%, 0%, 9%)
CIE-LABlab(66.73, 41.21, -38.44)
CIE-LCHlch(66.73, 56.35, 316.99°)
OKLaboklab(72.99% 0.1045 -0.1062)
OKLCHoklch(72.99% 0.149 314.5)
XYZxyz(47.8660, 36.2752, 80.8086)
Luminance0.3627 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA89E8 #A7E889
analogous
#9B89E8 #CA89E8 #E889D6
triadic
#CA89E8 #E8CA89 #89E8CA
tetradic
#CA89E8 #E89B89 #A7E889 #89D6E8
square
#CA89E8 #E89B89 #A7E889 #89D6E8
split-complementary
#CA89E8 #D6E889 #89E89B
monochromatic
#9A28CE #B356DE #CA89E8 #E1BCF2 #F3E5FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA89E8#FFFFFF#000000##000000
##CA89E81.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#789FEB
Deuteranopia (green-blind)
#89A4E5
Tritanopia (blue-blind)
#C896AE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca89e8;
/* rgb */ color: rgb(202, 137, 232);
/* oklch */ color: oklch(73.0% 0.149 314.5);
Tailwind
colors: {
  custom: {
    50: '#dbacef',
    500: '#ca89e8',
    950: '#000000',
  },
}
SCSS
$custom: #ca89e8;
$custom-light: #dbacef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca89e8",
  "rgb": {
    "r": 202,
    "g": 137,
    "b": 232
  },
  "hsl": {
    "h": 281.053,
    "s": 67.376,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72989,
    "c": 0.14898,
    "h": 314.5
  },
  "luminance": 0.36274
}

Semantic roles & 50–950 ramp

primary
#CA89E8
secondary
#E1F2D9
accent
#CF1651
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA89E8

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

Preview Lab → · Contrast checker → · Palette generator →

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