#CA84FE#CA84FE

#CA84FE is a light, vivid violet. Relative luminance 0.362; OKLCH L 73.3% C 0.182 H 309.1°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#CA84FE
RGBrgb(202, 132, 254)
HSLhsl(274, 98%, 76%)
HSVhsv(274, 48%, 100%)
CMYKcmyk(20.5%, 48%, 0%, 0.4%)
CIE-LABlab(66.68, 48.56, -50.59)
CIE-LCHlch(66.68, 70.12, 313.82°)
OKLaboklab(73.29% 0.1147 -0.1413)
OKLCHoklch(73.29% 0.182 309.1)
XYZxyz(50.4944, 36.2156, 98.0770)
Luminance0.3622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA84FE #B8FE84
analogous
#8D84FE #CA84FE #FE84F5
triadic
#CA84FE #FECA84 #84FECA
tetradic
#CA84FE #FE8D84 #B8FE84 #84F5FE
square
#CA84FE #FE8D84 #B8FE84 #84F5FE
split-complementary
#CA84FE #F5FE84 #84FE8D
monochromatic
#960BFD #B047FE #CA84FE #E4C1FE #F2E1FF

Accessibility & contrast

On white

2.55
#CA84FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#CA84FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA84FE
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA84FE#FFFFFF#000000##000000
##CA84FE1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#79A3FB
Tritanopia (blue-blind)
#C398B5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca84fe;
/* rgb */ color: rgb(202, 132, 254);
/* oklch */ color: oklch(73.3% 0.182 309.1);
Tailwind
colors: {
  custom: {
    50: '#dca9ff',
    500: '#ca84fe',
    950: '#000000',
  },
}
SCSS
$custom: #ca84fe;
$custom-light: #dca9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca84fe",
  "rgb": {
    "r": 202,
    "g": 132,
    "b": 254
  },
  "hsl": {
    "h": 274.426,
    "s": 98.387,
    "l": 75.686
  },
  "oklch": {
    "l": 0.73286,
    "c": 0.18202,
    "h": 309.1
  },
  "luminance": 0.36215
}

Semantic roles & 50–950 ramp

primary
#CA84FE
secondary
#E3F7D4
accent
#E60062
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CA84FE

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

Preview Lab → · Contrast checker → · Palette generator →

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