#CA81FE#CA81FE

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

Color values

HEX#CA81FE
RGBrgb(202, 129, 254)
HSLhsl(275, 98%, 75%)
HSVhsv(275, 49%, 100%)
CMYKcmyk(20.5%, 49.2%, 0%, 0.4%)
CIE-LABlab(66.07, 50.13, -51.57)
CIE-LCHlch(66.07, 71.92, 314.19°)
OKLaboklab(72.83% 0.1187 -0.1441)
OKLCHoklch(72.83% 0.187 309.5)
XYZxyz(50.0934, 35.4136, 97.9433)
Luminance0.3541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA81FE #B5FE81
analogous
#8B81FE #CA81FE #FE81F3
triadic
#CA81FE #FECA81 #81FECA
tetradic
#CA81FE #FE8B81 #B5FE81 #81F3FE
square
#CA81FE #FE8B81 #B5FE81 #81F3FE
split-complementary
#CA81FE #F3FE81 #81FE8B
monochromatic
#9708FD #B044FE #CA81FE #E4BEFE #F2E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA81FE#FFFFFF#000000##000000
##CA81FE1.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)
#609DFF
Deuteranopia (green-blind)
#76A2FB
Tritanopia (blue-blind)
#C396B4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ca81fe;
/* rgb */ color: rgb(202, 129, 254);
/* oklch */ color: oklch(72.8% 0.187 309.5);
Tailwind
colors: {
  custom: {
    50: '#dca7ff',
    500: '#ca81fe',
    950: '#000000',
  },
}
SCSS
$custom: #ca81fe;
$custom-light: #dca7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca81fe",
  "rgb": {
    "r": 202,
    "g": 129,
    "b": 254
  },
  "hsl": {
    "h": 275.04,
    "s": 98.425,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72829,
    "c": 0.18672,
    "h": 309.5
  },
  "luminance": 0.35413
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA81FE

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

Preview Lab → · Contrast checker → · Palette generator →

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