#CA84EF#CA84EF

#CA84EF is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.5% C 0.165 H 313.0°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#CA84EF
RGBrgb(202, 132, 239)
HSLhsl(279, 77%, 73%)
HSVhsv(279, 45%, 94%)
CMYKcmyk(15.5%, 44.8%, 0%, 6.3%)
CIE-LABlab(65.98, 45.34, -43.48)
CIE-LCHlch(65.98, 62.82, 316.20°)
OKLaboklab(72.53% 0.1127 -0.1207)
OKLCHoklch(72.53% 0.165 313)
XYZxyz(48.1858, 35.2921, 85.9183)
Luminance0.3529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA84EF #A9EF84
analogous
#9484EF #CA84EF #EF84DF
triadic
#CA84EF #EFCA84 #84EFCA
tetradic
#CA84EF #EF9484 #A9EF84 #84DFEF
square
#CA84EF #EF9484 #A9EF84 #84DFEF
split-complementary
#CA84EF #DFEF84 #84EF94
monochromatic
#9A1DDC #B34EE8 #CA84EF #E1BAF6 #F3E4FB

Accessibility & contrast

On white

2.61
#CA84EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#CA84EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA84EF
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA84EF#FFFFFF#000000##000000
##CA84EF1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF3
Deuteranopia (green-blind)
#81A2EC
Tritanopia (blue-blind)
#C794AE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ca84ef;
/* rgb */ color: rgb(202, 132, 239);
/* oklch */ color: oklch(72.5% 0.165 313.0);
Tailwind
colors: {
  custom: {
    50: '#dca9f4',
    500: '#ca84ef',
    950: '#000000',
  },
}
SCSS
$custom: #ca84ef;
$custom-light: #dca9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca84ef",
  "rgb": {
    "r": 202,
    "g": 132,
    "b": 239
  },
  "hsl": {
    "h": 279.252,
    "s": 76.978,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72526,
    "c": 0.16514,
    "h": 313
  },
  "luminance": 0.35291
}

Semantic roles & 50–950 ramp

primary
#CA84EF
secondary
#E1F3D8
accent
#D90C53
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA84EF

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

Preview Lab → · Contrast checker → · Palette generator →

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