#CA89EC#CA89EC

#CA89EC is a light, vivid violet. Relative luminance 0.365; OKLCH L 73.2% C 0.153 H 313.3°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#CA89EC
RGBrgb(202, 137, 236)
HSLhsl(279, 72%, 73%)
HSVhsv(279, 42%, 93%)
CMYKcmyk(14.4%, 41.9%, 0%, 7.5%)
CIE-LABlab(66.90, 42.04, -40.37)
CIE-LCHlch(66.90, 58.29, 316.16°)
OKLaboklab(73.18% 0.1052 -0.1118)
OKLCHoklch(73.18% 0.154 313.3)
XYZxyz(48.4406, 36.5050, 83.8350)
Luminance0.3650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA89EC #ABEC89
analogous
#9889EC #CA89EC #EC89DC
triadic
#CA89EC #ECCA89 #89ECCA
tetradic
#CA89EC #EC9889 #ABEC89 #89DCEC
square
#CA89EC #EC9889 #ABEC89 #89DCEC
split-complementary
#CA89EC #DCEC89 #89EC98
monochromatic
#9A23D8 #B254E4 #CA89EC #E2BEF4 #F3E5FB

Accessibility & contrast

On white

2.53
#CA89EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#CA89EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA89EC
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA89EC#FFFFFF#000000##000000
##CA89EC1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FF0
Deuteranopia (green-blind)
#87A4E9
Tritanopia (blue-blind)
#C797AF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca89ec;
/* rgb */ color: rgb(202, 137, 236);
/* oklch */ color: oklch(73.2% 0.153 313.3);
Tailwind
colors: {
  custom: {
    50: '#dcacf2',
    500: '#ca89ec',
    950: '#000000',
  },
}
SCSS
$custom: #ca89ec;
$custom-light: #dcacf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca89ec",
  "rgb": {
    "r": 202,
    "g": 137,
    "b": 236
  },
  "hsl": {
    "h": 279.394,
    "s": 72.263,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73178,
    "c": 0.1535,
    "h": 313.3
  },
  "luminance": 0.36504
}

Semantic roles & 50–950 ramp

primary
#CA89EC
secondary
#E1F2D9
accent
#D41154
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA89EC

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

Preview Lab → · Contrast checker → · Palette generator →

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