#CA81FD#CA81FD

#CA81FD is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.8% C 0.186 H 309.7°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#CA81FD
RGBrgb(202, 129, 253)
HSLhsl(275, 97%, 75%)
HSVhsv(275, 49%, 99%)
CMYKcmyk(20.2%, 49%, 0%, 0.8%)
CIE-LABlab(66.02, 49.91, -51.10)
CIE-LCHlch(66.02, 71.43, 314.33°)
OKLaboklab(72.78% 0.1186 -0.1428)
OKLCHoklch(72.78% 0.186 309.7)
XYZxyz(49.9337, 35.3497, 97.1021)
Luminance0.3535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA81FD #B4FD81
analogous
#8C81FD #CA81FD #FD81F2
triadic
#CA81FD #FDCA81 #81FDCA
tetradic
#CA81FD #FD8C81 #B4FD81 #81F2FD
square
#CA81FD #FD8C81 #B4FD81 #81F2FD
split-complementary
#CA81FD #F2FD81 #81FD8C
monochromatic
#9709FB #B145FC #CA81FD #E3BDFE #F2E1FF

Accessibility & contrast

On white

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

On black

8.07
#CA81FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA81FD
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA81FD#FFFFFF#000000##000000
##CA81FD1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#76A2FA
Tritanopia (blue-blind)
#C496B3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ca81fd;
/* rgb */ color: rgb(202, 129, 253);
/* oklch */ color: oklch(72.8% 0.186 309.7);
Tailwind
colors: {
  custom: {
    50: '#dca7fe',
    500: '#ca81fd',
    950: '#000000',
  },
}
SCSS
$custom: #ca81fd;
$custom-light: #dca7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca81fd",
  "rgb": {
    "r": 202,
    "g": 129,
    "b": 253
  },
  "hsl": {
    "h": 275.323,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72776,
    "c": 0.1856,
    "h": 309.7
  },
  "luminance": 0.35349
}

Semantic roles & 50–950 ramp

primary
#CA81FD
secondary
#E2F7D4
accent
#E6005E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CA81FD

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

Preview Lab → · Contrast checker → · Palette generator →

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