#CA81FB#CA81FB

#CA81FB is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.7% C 0.183 H 310.2°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#CA81FB
RGBrgb(202, 129, 251)
HSLhsl(276, 94%, 75%)
HSVhsv(276, 49%, 98%)
CMYKcmyk(19.5%, 48.6%, 0%, 1.6%)
CIE-LABlab(65.92, 49.48, -50.16)
CIE-LCHlch(65.92, 70.46, 314.61°)
OKLaboklab(72.67% 0.1184 -0.14)
OKLCHoklch(72.67% 0.183 310.2)
XYZxyz(49.6167, 35.2229, 95.4330)
Luminance0.3522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA81FB #B2FB81
analogous
#8D81FB #CA81FB #FB81EF
triadic
#CA81FB #FBCA81 #81FBCA
tetradic
#CA81FB #FB8D81 #B2FB81 #81EFFB
square
#CA81FB #FB8D81 #B2FB81 #81EFFB
split-complementary
#CA81FB #EFFB81 #81FB8D
monochromatic
#980AF7 #B146F9 #CA81FB #E3BCFD #F3E1FE

Accessibility & contrast

On white

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

On black

8.04
#CA81FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA81FB
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA81FB#FFFFFF#000000##000000
##CA81FB1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#77A1F8
Tritanopia (blue-blind)
#C495B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ca81fb;
/* rgb */ color: rgb(202, 129, 251);
/* oklch */ color: oklch(72.7% 0.183 310.2);
Tailwind
colors: {
  custom: {
    50: '#dca7fd',
    500: '#ca81fb',
    950: '#000000',
  },
}
SCSS
$custom: #ca81fb;
$custom-light: #dca7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca81fb",
  "rgb": {
    "r": 202,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 275.902,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72671,
    "c": 0.18336,
    "h": 310.2
  },
  "luminance": 0.35222
}

Semantic roles & 50–950 ramp

primary
#CA81FB
secondary
#E2F6D5
accent
#E6005C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CA81FB

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

Preview Lab → · Contrast checker → · Palette generator →

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