#CA84F7#CA84F7

#CA84F7 is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.9% C 0.174 H 310.8°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#CA84F7
RGBrgb(202, 132, 247)
HSLhsl(277, 88%, 74%)
HSVhsv(277, 47%, 97%)
CMYKcmyk(18.2%, 46.6%, 0%, 3.1%)
CIE-LABlab(66.35, 47.04, -47.29)
CIE-LCHlch(66.35, 66.70, 314.85°)
OKLaboklab(72.93% 0.1138 -0.1317)
OKLCHoklch(72.93% 0.174 310.8)
XYZxyz(49.3939, 35.7754, 92.2809)
Luminance0.3577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA84F7 #B1F784
analogous
#9184F7 #CA84F7 #F784EA
triadic
#CA84F7 #F7CA84 #84F7CA
tetradic
#CA84F7 #F79184 #B1F784 #84EAF7
square
#CA84F7 #F79184 #B1F784 #84EAF7
split-complementary
#CA84F7 #EAF784 #84F791
monochromatic
#9811F0 #B14BF3 #CA84F7 #E3BDFB #F3E2FD

Accessibility & contrast

On white

2.58
#CA84F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#CA84F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA84F7
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA84F7#FFFFFF#000000##000000
##CA84F71.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFB
Deuteranopia (green-blind)
#7DA3F4
Tritanopia (blue-blind)
#C596B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ca84f7;
/* rgb */ color: rgb(202, 132, 247);
/* oklch */ color: oklch(72.9% 0.174 310.8);
Tailwind
colors: {
  custom: {
    50: '#dca9fa',
    500: '#ca84f7',
    950: '#000000',
  },
}
SCSS
$custom: #ca84f7;
$custom-light: #dca9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca84f7",
  "rgb": {
    "r": 202,
    "g": 132,
    "b": 247
  },
  "hsl": {
    "h": 276.522,
    "s": 87.786,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72926,
    "c": 0.17411,
    "h": 310.8
  },
  "luminance": 0.35774
}

Semantic roles & 50–950 ramp

primary
#CA84F7
secondary
#E2F5D6
accent
#E4015A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA84F7

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

Preview Lab → · Contrast checker → · Palette generator →

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