#CA81FF#CA81FF

#CA81FF is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.9% C 0.188 H 309.2°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#CA81FF
RGBrgb(202, 129, 255)
HSLhsl(275, 100%, 75%)
HSVhsv(275, 49%, 100%)
CMYKcmyk(20.8%, 49.4%, 0%, 0%)
CIE-LABlab(66.12, 50.35, -52.03)
CIE-LCHlch(66.12, 72.40, 314.06°)
OKLaboklab(72.88% 0.1188 -0.1455)
OKLCHoklch(72.88% 0.188 309.2)
XYZxyz(50.2539, 35.4778, 98.7889)
Luminance0.3548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA81FF #B6FF81
analogous
#8B81FF #CA81FF #FF81F5
triadic
#CA81FF #FFCA81 #81FFCA
tetradic
#CA81FF #FF8B81 #B6FF81 #81F5FF
square
#CA81FF #FF8B81 #B6FF81 #81F5FF
split-complementary
#CA81FF #F5FF81 #81FF8B
monochromatic
#9707FF #B044FF #CA81FF #E4BEFF #F2E0FF

Accessibility & contrast

On white

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

On black

8.10
#CA81FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA81FF
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA81FF#FFFFFF#000000##000000
##CA81FF1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#75A2FC
Tritanopia (blue-blind)
#C396B4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ca81ff;
/* rgb */ color: rgb(202, 129, 255);
/* oklch */ color: oklch(72.9% 0.188 309.2);
Tailwind
colors: {
  custom: {
    50: '#dca7ff',
    500: '#ca81ff',
    950: '#000000',
  },
}
SCSS
$custom: #ca81ff;
$custom-light: #dca7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca81ff",
  "rgb": {
    "r": 202,
    "g": 129,
    "b": 255
  },
  "hsl": {
    "h": 274.762,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72882,
    "c": 0.18783,
    "h": 309.2
  },
  "luminance": 0.35477
}

Semantic roles & 50–950 ramp

primary
#CA81FF
secondary
#E3F7D4
accent
#E60061
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CA81FF

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

Preview Lab → · Contrast checker → · Palette generator →

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