#CA84FC#CA84FC

#CA84FC is a light, vivid violet. Relative luminance 0.361; OKLCH L 73.2% C 0.180 H 309.6°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#CA84FC
RGBrgb(202, 132, 252)
HSLhsl(275, 95%, 75%)
HSVhsv(275, 48%, 99%)
CMYKcmyk(19.8%, 47.6%, 0%, 1.2%)
CIE-LABlab(66.59, 48.12, -49.65)
CIE-LCHlch(66.59, 69.14, 314.10°)
OKLaboklab(73.18% 0.1145 -0.1386)
OKLCHoklch(73.18% 0.18 309.6)
XYZxyz(50.1758, 36.0881, 96.3990)
Luminance0.3609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA84FC #B6FC84
analogous
#8E84FC #CA84FC #FC84F2
triadic
#CA84FC #FCCA84 #84FCCA
tetradic
#CA84FC #FC8E84 #B6FC84 #84F2FC
square
#CA84FC #FC8E84 #B6FC84 #84F2FC
split-complementary
#CA84FC #F2FC84 #84FC8E
monochromatic
#970DF9 #B048FB #CA84FC #E4C0FD #F2E1FE

Accessibility & contrast

On white

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

On black

8.22
#CA84FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA84FC
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA84FC#FFFFFF#000000##000000
##CA84FC1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#7AA3F9
Tritanopia (blue-blind)
#C498B4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca84fc;
/* rgb */ color: rgb(202, 132, 252);
/* oklch */ color: oklch(73.2% 0.180 309.6);
Tailwind
colors: {
  custom: {
    50: '#dca9fe',
    500: '#ca84fc',
    950: '#000000',
  },
}
SCSS
$custom: #ca84fc;
$custom-light: #dca9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca84fc",
  "rgb": {
    "r": 202,
    "g": 132,
    "b": 252
  },
  "hsl": {
    "h": 275,
    "s": 95.238,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73182,
    "c": 0.17976,
    "h": 309.6
  },
  "luminance": 0.36087
}

Semantic roles & 50–950 ramp

primary
#CA84FC
secondary
#E3F6D5
accent
#E60060
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CA84FC

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

Preview Lab → · Contrast checker → · Palette generator →

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