#CA84EB#CA84EB

#CA84EB is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.3% C 0.161 H 314.2°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#CA84EB
RGBrgb(202, 132, 235)
HSLhsl(281, 72%, 72%)
HSVhsv(281, 44%, 92%)
CMYKcmyk(14%, 43.8%, 0%, 7.8%)
CIE-LABlab(65.79, 44.51, -41.56)
CIE-LCHlch(65.79, 60.89, 316.96°)
OKLaboklab(72.33% 0.1121 -0.1152)
OKLCHoklch(72.33% 0.161 314.2)
XYZxyz(47.6014, 35.0584, 82.8405)
Luminance0.3506 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA84EB #A5EB84
analogous
#9784EB #CA84EB #EB84D8
triadic
#CA84EB #EBCA84 #84EBCA
tetradic
#CA84EB #EB9784 #A5EB84 #84D8EB
square
#CA84EB #EB9784 #A5EB84 #84D8EB
split-complementary
#CA84EB #D8EB84 #84EB97
monochromatic
#9A22D2 #B34FE2 #CA84EB #E1B9F4 #F4E5FB

Accessibility & contrast

On white

2.62
#CA84EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#CA84EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA84EB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA84EB#FFFFFF#000000##000000
##CA84EB1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CEF
Deuteranopia (green-blind)
#83A2E8
Tritanopia (blue-blind)
#C893AC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ca84eb;
/* rgb */ color: rgb(202, 132, 235);
/* oklch */ color: oklch(72.3% 0.161 314.2);
Tailwind
colors: {
  custom: {
    50: '#dca9f2',
    500: '#ca84eb',
    950: '#000000',
  },
}
SCSS
$custom: #ca84eb;
$custom-light: #dca9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca84eb",
  "rgb": {
    "r": 202,
    "g": 132,
    "b": 235
  },
  "hsl": {
    "h": 280.777,
    "s": 72.028,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72331,
    "c": 0.16068,
    "h": 314.2
  },
  "luminance": 0.35057
}

Semantic roles & 50–950 ramp

primary
#CA84EB
secondary
#E1F2D8
accent
#D41150
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA84EB

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

Preview Lab → · Contrast checker → · Palette generator →

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