#CA89EB#CA89EB

#CA89EB is a light, vivid violet. Relative luminance 0.364; OKLCH L 73.1% C 0.152 H 313.6°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#CA89EB
RGBrgb(202, 137, 235)
HSLhsl(280, 71%, 73%)
HSVhsv(280, 42%, 92%)
CMYKcmyk(14%, 41.7%, 0%, 7.8%)
CIE-LABlab(66.86, 41.83, -39.89)
CIE-LCHlch(66.86, 57.80, 316.36°)
OKLaboklab(73.13% 0.105 -0.1104)
OKLCHoklch(73.13% 0.152 313.6)
XYZxyz(48.2957, 36.4471, 83.0720)
Luminance0.3645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA89EB #AAEB89
analogous
#9989EB #CA89EB #EB89DB
triadic
#CA89EB #EBCA89 #89EBCA
tetradic
#CA89EB #EB9989 #AAEB89 #89DBEB
square
#CA89EB #EB9989 #AAEB89 #89DBEB
split-complementary
#CA89EB #DBEB89 #89EB99
monochromatic
#9A24D5 #B255E2 #CA89EB #E2BDF4 #F3E5FB

Accessibility & contrast

On white

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

On black

8.29
#CA89EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA89EB
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA89EB#FFFFFF#000000##000000
##CA89EB1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FEF
Deuteranopia (green-blind)
#87A4E8
Tritanopia (blue-blind)
#C797AF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca89eb;
/* rgb */ color: rgb(202, 137, 235);
/* oklch */ color: oklch(73.1% 0.152 313.6);
Tailwind
colors: {
  custom: {
    50: '#dbacf2',
    500: '#ca89eb',
    950: '#000000',
  },
}
SCSS
$custom: #ca89eb;
$custom-light: #dbacf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca89eb",
  "rgb": {
    "r": 202,
    "g": 137,
    "b": 235
  },
  "hsl": {
    "h": 279.796,
    "s": 71.014,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7313,
    "c": 0.15236,
    "h": 313.6
  },
  "luminance": 0.36446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA89EB

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

Preview Lab → · Contrast checker → · Palette generator →

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