#CA82FA#CA82FA

#CA82FA is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.8% C 0.181 H 310.3°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#CA82FA
RGBrgb(202, 130, 250)
HSLhsl(276, 92%, 75%)
HSVhsv(276, 48%, 98%)
CMYKcmyk(19.2%, 48%, 0%, 2%)
CIE-LABlab(66.08, 48.74, -49.36)
CIE-LCHlch(66.08, 69.37, 314.64°)
OKLaboklab(72.77% 0.1169 -0.1377)
OKLCHoklch(72.77% 0.181 310.3)
XYZxyz(49.5919, 35.4248, 94.6491)
Luminance0.3542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA82FA #B2FA82
analogous
#8E82FA #CA82FA #FA82EE
triadic
#CA82FA #FACA82 #82FACA
tetradic
#CA82FA #FA8E82 #B2FA82 #82EEFA
square
#CA82FA #FA8E82 #B2FA82 #82EEFA
split-complementary
#CA82FA #EEFA82 #82FA8E
monochromatic
#980CF5 #B147F8 #CA82FA #E3BDFC #F3E2FE

Accessibility & contrast

On white

2.60
#CA82FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#CA82FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA82FA
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA82FA#FFFFFF#000000##000000
##CA82FA1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFE
Deuteranopia (green-blind)
#79A2F7
Tritanopia (blue-blind)
#C495B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ca82fa;
/* rgb */ color: rgb(202, 130, 250);
/* oklch */ color: oklch(72.8% 0.181 310.3);
Tailwind
colors: {
  custom: {
    50: '#dca8fc',
    500: '#ca82fa',
    950: '#000000',
  },
}
SCSS
$custom: #ca82fa;
$custom-light: #dca8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca82fa",
  "rgb": {
    "r": 202,
    "g": 130,
    "b": 250
  },
  "hsl": {
    "h": 276,
    "s": 92.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72772,
    "c": 0.18067,
    "h": 310.3
  },
  "luminance": 0.35424
}

Semantic roles & 50–950 ramp

primary
#CA82FA
secondary
#E2F6D5
accent
#E6005C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA82FA

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

Preview Lab → · Contrast checker → · Palette generator →

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