#A281FF#A281FF

#A281FF is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.0% C 0.180 H 293.2°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#A281FF
RGBrgb(162, 129, 255)
HSLhsl(256, 100%, 75%)
HSVhsv(256, 49%, 100%)
CMYKcmyk(36.5%, 49.4%, 0%, 0%)
CIE-LABlab(62.17, 40.23, -58.55)
CIE-LCHlch(62.17, 71.04, 304.49°)
OKLaboklab(69.03% 0.0709 -0.1656)
OKLCHoklch(69.03% 0.18 293.2)
XYZxyz(40.7958, 30.6010, 98.3455)
Luminance0.3060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A281FF #DEFF81
analogous
#819FFF #A281FF #E181FF
triadic
#A281FF #FFA281 #81FFA2
tetradic
#A281FF #FF819F #DEFF81 #81FFE1
square
#A281FF #FF819F #DEFF81 #81FFE1
split-complementary
#A281FF #FFE181 #9FFF81
monochromatic
#4807FF #7544FF #A281FF #CFBEFF #E8E0FF

Accessibility & contrast

On white

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

On black

7.12
#A281FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A281FF
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A281FF#FFFFFF#000000##000000
##A281FF1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5098FF
Deuteranopia (green-blind)
#5694FC
Tritanopia (blue-blind)
#8B9AB4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a281ff;
/* rgb */ color: rgb(162, 129, 255);
/* oklch */ color: oklch(69.0% 0.180 293.2);
Tailwind
colors: {
  custom: {
    50: '#c2a6ff',
    500: '#a281ff',
    950: '#000000',
  },
}
SCSS
$custom: #a281ff;
$custom-light: #c2a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a281ff",
  "rgb": {
    "r": 162,
    "g": 129,
    "b": 255
  },
  "hsl": {
    "h": 255.714,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.69031,
    "c": 0.18011,
    "h": 293.2
  },
  "luminance": 0.30602
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A281FF

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

Preview Lab → · Contrast checker → · Palette generator →

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