#CA84FB#CA84FB

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

Color values

HEX#CA84FB
RGBrgb(202, 132, 251)
HSLhsl(275, 94%, 75%)
HSVhsv(275, 47%, 98%)
CMYKcmyk(19.5%, 47.4%, 0%, 1.6%)
CIE-LABlab(66.54, 47.90, -49.18)
CIE-LCHlch(66.54, 68.66, 314.25°)
OKLaboklab(73.13% 0.1144 -0.1372)
OKLCHoklch(73.13% 0.179 309.8)
XYZxyz(50.0177, 36.0249, 95.5667)
Luminance0.3602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA84FB #B5FB84
analogous
#8E84FB #CA84FB #FB84F1
triadic
#CA84FB #FBCA84 #84FBCA
tetradic
#CA84FB #FB8E84 #B5FB84 #84F1FB
square
#CA84FB #FB8E84 #B5FB84 #84F1FB
split-complementary
#CA84FB #F1FB84 #84FB8E
monochromatic
#970DF7 #B049F9 #CA84FB #E4BFFD #F2E1FE

Accessibility & contrast

On white

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

On black

8.20
#CA84FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA84FB
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA84FB#FFFFFF#000000##000000
##CA84FB1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#7AA3F8
Tritanopia (blue-blind)
#C497B4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca84fb;
/* rgb */ color: rgb(202, 132, 251);
/* oklch */ color: oklch(73.1% 0.179 309.8);
Tailwind
colors: {
  custom: {
    50: '#dca9fd',
    500: '#ca84fb',
    950: '#000000',
  },
}
SCSS
$custom: #ca84fb;
$custom-light: #dca9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca84fb",
  "rgb": {
    "r": 202,
    "g": 132,
    "b": 251
  },
  "hsl": {
    "h": 275.294,
    "s": 93.701,
    "l": 75.098
  },
  "oklch": {
    "l": 0.7313,
    "c": 0.17863,
    "h": 309.8
  },
  "luminance": 0.36024
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA84FB

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

Preview Lab → · Contrast checker → · Palette generator →

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