#CA84FA#CA84FA

#CA84FA is a light, vivid violet. Relative luminance 0.360; OKLCH L 73.1% C 0.177 H 310.1°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#CA84FA
RGBrgb(202, 132, 250)
HSLhsl(276, 92%, 75%)
HSVhsv(276, 47%, 98%)
CMYKcmyk(19.2%, 47.2%, 0%, 2%)
CIE-LABlab(66.49, 47.69, -48.71)
CIE-LCHlch(66.49, 68.17, 314.39°)
OKLaboklab(73.08% 0.1142 -0.1359)
OKLCHoklch(73.08% 0.177 310.1)
XYZxyz(49.8605, 35.9620, 94.7387)
Luminance0.3596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA84FA #B4FA84
analogous
#8F84FA #CA84FA #FA84EF
triadic
#CA84FA #FACA84 #84FACA
tetradic
#CA84FA #FA8F84 #B4FA84 #84EFFA
square
#CA84FA #FA8F84 #B4FA84 #84EFFA
split-complementary
#CA84FA #EFFA84 #84FA8F
monochromatic
#970EF5 #B149F8 #CA84FA #E3BFFC #F2E2FE

Accessibility & contrast

On white

2.56
#CA84FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#CA84FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA84FA
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA84FA#FFFFFF#000000##000000
##CA84FA1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFE
Deuteranopia (green-blind)
#7BA3F7
Tritanopia (blue-blind)
#C497B3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca84fa;
/* rgb */ color: rgb(202, 132, 250);
/* oklch */ color: oklch(73.1% 0.177 310.1);
Tailwind
colors: {
  custom: {
    50: '#dca9fc',
    500: '#ca84fa',
    950: '#000000',
  },
}
SCSS
$custom: #ca84fa;
$custom-light: #dca9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca84fa",
  "rgb": {
    "r": 202,
    "g": 132,
    "b": 250
  },
  "hsl": {
    "h": 275.593,
    "s": 92.188,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73079,
    "c": 0.17749,
    "h": 310.1
  },
  "luminance": 0.35961
}

Semantic roles & 50–950 ramp

primary
#CA84FA
secondary
#E2F6D5
accent
#E6005D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA84FA

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

Preview Lab → · Contrast checker → · Palette generator →

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