#CA89ED#CA89ED

#CA89ED is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.2% C 0.155 H 313.0°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#CA89ED
RGBrgb(202, 137, 237)
HSLhsl(279, 74%, 73%)
HSVhsv(279, 42%, 93%)
CMYKcmyk(14.8%, 42.2%, 0%, 7.1%)
CIE-LABlab(66.95, 42.25, -40.85)
CIE-LCHlch(66.95, 58.77, 315.96°)
OKLaboklab(73.22% 0.1054 -0.1131)
OKLCHoklch(73.22% 0.155 313)
XYZxyz(48.5863, 36.5633, 84.6023)
Luminance0.3656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA89ED #ACED89
analogous
#9889ED #CA89ED #ED89DE
triadic
#CA89ED #EDCA89 #89EDCA
tetradic
#CA89ED #ED9889 #ACED89 #89DEED
square
#CA89ED #ED9889 #ACED89 #89DEED
split-complementary
#CA89ED #DEED89 #89ED98
monochromatic
#9A21DA #B254E5 #CA89ED #E2BEF5 #F3E4FB

Accessibility & contrast

On white

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

On black

8.31
#CA89ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA89ED
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA89ED#FFFFFF#000000##000000
##CA89ED1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FF1
Deuteranopia (green-blind)
#86A5EA
Tritanopia (blue-blind)
#C797B0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca89ed;
/* rgb */ color: rgb(202, 137, 237);
/* oklch */ color: oklch(73.2% 0.155 313.0);
Tailwind
colors: {
  custom: {
    50: '#dcacf3',
    500: '#ca89ed',
    950: '#000000',
  },
}
SCSS
$custom: #ca89ed;
$custom-light: #dcacf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca89ed",
  "rgb": {
    "r": 202,
    "g": 137,
    "b": 237
  },
  "hsl": {
    "h": 279,
    "s": 73.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73225,
    "c": 0.15463,
    "h": 313
  },
  "luminance": 0.36562
}

Semantic roles & 50–950 ramp

primary
#CA89ED
secondary
#E2F3D8
accent
#D61055
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA89ED

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

Preview Lab → · Contrast checker → · Palette generator →

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