#CA81FA#CA81FA

#CA81FA is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.6% C 0.182 H 310.5°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#CA81FA
RGBrgb(202, 129, 250)
HSLhsl(276, 92%, 74%)
HSVhsv(276, 48%, 98%)
CMYKcmyk(19.2%, 48.4%, 0%, 2%)
CIE-LABlab(65.87, 49.27, -49.68)
CIE-LCHlch(65.87, 69.97, 314.76°)
OKLaboklab(72.62% 0.1182 -0.1387)
OKLCHoklch(72.62% 0.182 310.5)
XYZxyz(49.4595, 35.1601, 94.6050)
Luminance0.3516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA81FA #B1FA81
analogous
#8E81FA #CA81FA #FA81EE
triadic
#CA81FA #FACA81 #81FACA
tetradic
#CA81FA #FA8E81 #B1FA81 #81EEFA
square
#CA81FA #FA8E81 #B1FA81 #81EEFA
split-complementary
#CA81FA #EEFA81 #81FA8E
monochromatic
#980BF5 #B146F8 #CA81FA #E3BCFC #F3E2FE

Accessibility & contrast

On white

2.61
#CA81FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#CA81FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA81FA
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA81FA#FFFFFF#000000##000000
##CA81FA1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFE
Deuteranopia (green-blind)
#78A1F7
Tritanopia (blue-blind)
#C495B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ca81fa;
/* rgb */ color: rgb(202, 129, 250);
/* oklch */ color: oklch(72.6% 0.182 310.5);
Tailwind
colors: {
  custom: {
    50: '#dca7fc',
    500: '#ca81fa',
    950: '#000000',
  },
}
SCSS
$custom: #ca81fa;
$custom-light: #dca7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca81fa",
  "rgb": {
    "r": 202,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 276.198,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72619,
    "c": 0.18224,
    "h": 310.5
  },
  "luminance": 0.35159
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA81FA

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

Preview Lab → · Contrast checker → · Palette generator →

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