#CA84F2#CA84F2

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

Color values

HEX#CA84F2
RGBrgb(202, 132, 242)
HSLhsl(278, 81%, 73%)
HSVhsv(278, 45%, 95%)
CMYKcmyk(16.5%, 45.5%, 0%, 5.1%)
CIE-LABlab(66.11, 45.98, -44.91)
CIE-LCHlch(66.11, 64.27, 315.67°)
OKLaboklab(72.68% 0.1131 -0.1248)
OKLCHoklch(72.68% 0.168 312.2)
XYZxyz(48.6326, 35.4709, 88.2718)
Luminance0.3547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA84F2 #ACF284
analogous
#9384F2 #CA84F2 #F284E3
triadic
#CA84F2 #F2CA84 #84F2CA
tetradic
#CA84F2 #F29384 #ACF284 #84E3F2
square
#CA84F2 #F29384 #ACF284 #84E3F2
split-complementary
#CA84F2 #E3F284 #84F293
monochromatic
#9A18E4 #B24DEC #CA84F2 #E2BBF8 #F3E3FC

Accessibility & contrast

On white

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

On black

8.09
#CA84F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA84F2
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA84F2#FFFFFF#000000##000000
##CA84F21.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca84f2;
/* rgb */ color: rgb(202, 132, 242);
/* oklch */ color: oklch(72.7% 0.168 312.2);
Tailwind
colors: {
  custom: {
    50: '#dca9f7',
    500: '#ca84f2',
    950: '#000000',
  },
}
SCSS
$custom: #ca84f2;
$custom-light: #dca9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca84f2",
  "rgb": {
    "r": 202,
    "g": 132,
    "b": 242
  },
  "hsl": {
    "h": 278.182,
    "s": 80.882,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72675,
    "c": 0.16849,
    "h": 312.2
  },
  "luminance": 0.3547
}

Semantic roles & 50–950 ramp

primary
#CA84F2
secondary
#E2F4D7
accent
#DD0856
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CA84F2

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

Preview Lab → · Contrast checker → · Palette generator →

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