#CA84F3#CA84F3

#CA84F3 is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.7% C 0.170 H 311.9°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#CA84F3
RGBrgb(202, 132, 243)
HSLhsl(278, 82%, 74%)
HSVhsv(278, 46%, 95%)
CMYKcmyk(16.9%, 45.7%, 0%, 4.7%)
CIE-LABlab(66.16, 46.19, -45.39)
CIE-LCHlch(66.16, 64.76, 315.50°)
OKLaboklab(72.72% 0.1133 -0.1262)
OKLCHoklch(72.72% 0.17 311.9)
XYZxyz(48.7832, 35.5311, 89.0650)
Luminance0.3553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA84F3 #ADF384
analogous
#9284F3 #CA84F3 #F384E4
triadic
#CA84F3 #F3CA84 #84F3CA
tetradic
#CA84F3 #F39284 #ADF384 #84E4F3
square
#CA84F3 #F39284 #ADF384 #84E4F3
split-complementary
#CA84F3 #E4F384 #84F392
monochromatic
#9916E6 #B24CEE #CA84F3 #E2BCF8 #F3E3FC

Accessibility & contrast

On white

2.59
#CA84F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#CA84F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA84F3
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA84F3#FFFFFF#000000##000000
##CA84F31.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF7
Deuteranopia (green-blind)
#7FA2F0
Tritanopia (blue-blind)
#C695B0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ca84f3;
/* rgb */ color: rgb(202, 132, 243);
/* oklch */ color: oklch(72.7% 0.170 311.9);
Tailwind
colors: {
  custom: {
    50: '#dca9f7',
    500: '#ca84f3',
    950: '#000000',
  },
}
SCSS
$custom: #ca84f3;
$custom-light: #dca9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca84f3",
  "rgb": {
    "r": 202,
    "g": 132,
    "b": 243
  },
  "hsl": {
    "h": 277.838,
    "s": 82.222,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72724,
    "c": 0.16961,
    "h": 311.9
  },
  "luminance": 0.3553
}

Semantic roles & 50–950 ramp

primary
#CA84F3
secondary
#E2F4D7
accent
#DF0757
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA84F3

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

Preview Lab → · Contrast checker → · Palette generator →

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