#A281FE#A281FE

#A281FE is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.0% C 0.179 H 293.3°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#A281FE
RGBrgb(162, 129, 254)
HSLhsl(256, 98%, 75%)
HSVhsv(256, 49%, 100%)
CMYKcmyk(36.2%, 49.2%, 0%, 0.4%)
CIE-LABlab(62.11, 39.97, -58.09)
CIE-LCHlch(62.11, 70.51, 304.53°)
OKLaboklab(68.97% 0.0708 -0.1642)
OKLCHoklch(68.97% 0.179 293.3)
XYZxyz(40.6353, 30.5368, 97.5000)
Luminance0.3054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A281FE #DDFE81
analogous
#819EFE #A281FE #E081FE
triadic
#A281FE #FEA281 #81FEA2
tetradic
#A281FE #FE819E #DDFE81 #81FEE0
square
#A281FE #FE819E #DDFE81 #81FEE0
split-complementary
#A281FE #FEE081 #9EFE81
monochromatic
#4808FD #7544FE #A281FE #CFBEFE #E9E1FF

Accessibility & contrast

On white

2.95
#A281FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#A281FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A281FE
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A281FE#FFFFFF#000000##000000
##A281FE1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5198FF
Deuteranopia (green-blind)
#5794FB
Tritanopia (blue-blind)
#8B9AB4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a281fe;
/* rgb */ color: rgb(162, 129, 254);
/* oklch */ color: oklch(69.0% 0.179 293.3);
Tailwind
colors: {
  custom: {
    50: '#c1a6ff',
    500: '#a281fe',
    950: '#000000',
  },
}
SCSS
$custom: #a281fe;
$custom-light: #c1a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a281fe",
  "rgb": {
    "r": 162,
    "g": 129,
    "b": 254
  },
  "hsl": {
    "h": 255.84,
    "s": 98.425,
    "l": 75.098
  },
  "oklch": {
    "l": 0.68972,
    "c": 0.17883,
    "h": 293.3
  },
  "luminance": 0.30538
}

Semantic roles & 50–950 ramp

primary
#A281FE
secondary
#EEF7D4
accent
#E600A9
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A281FE

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

Preview Lab → · Contrast checker → · Palette generator →

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