#CA84E7#CA84E7

#CA84E7 is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.1% C 0.156 H 315.5°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#CA84E7
RGBrgb(202, 132, 231)
HSLhsl(282, 67%, 71%)
HSVhsv(282, 43%, 91%)
CMYKcmyk(12.6%, 42.9%, 0%, 9.4%)
CIE-LABlab(65.62, 43.68, -39.63)
CIE-LCHlch(65.62, 58.98, 317.79°)
OKLaboklab(72.14% 0.1114 -0.1096)
OKLCHoklch(72.14% 0.156 315.5)
XYZxyz(47.0300, 34.8298, 79.8312)
Luminance0.3483 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA84E7 #A1E784
analogous
#9884E7 #CA84E7 #E784D2
triadic
#CA84E7 #E7CA84 #84E7CA
tetradic
#CA84E7 #E79884 #A1E784 #84D2E7
square
#CA84E7 #E79884 #A1E784 #84D2E7
split-complementary
#CA84E7 #D2E784 #84E798
monochromatic
#9A27C9 #B451DD #CA84E7 #E0B7F1 #F4E5FA

Accessibility & contrast

On white

2.64
#CA84E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#CA84E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA84E7
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA84E7#FFFFFF#000000##000000
##CA84E71.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#729BEB
Deuteranopia (green-blind)
#85A1E4
Tritanopia (blue-blind)
#C992AB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ca84e7;
/* rgb */ color: rgb(202, 132, 231);
/* oklch */ color: oklch(72.1% 0.156 315.5);
Tailwind
colors: {
  custom: {
    50: '#dca9ef',
    500: '#ca84e7',
    950: '#000000',
  },
}
SCSS
$custom: #ca84e7;
$custom-light: #dca9ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca84e7",
  "rgb": {
    "r": 202,
    "g": 132,
    "b": 231
  },
  "hsl": {
    "h": 282.424,
    "s": 67.347,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72139,
    "c": 0.15625,
    "h": 315.5
  },
  "luminance": 0.34829
}

Semantic roles & 50–950 ramp

primary
#CA84E7
secondary
#DEF0D6
accent
#CF164C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA84E7

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

Preview Lab → · Contrast checker → · Palette generator →

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