#A281EE#A281EE

#A281EE is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.1% C 0.158 H 295.9°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#A281EE
RGBrgb(162, 129, 238)
HSLhsl(258, 76%, 72%)
HSVhsv(258, 46%, 93%)
CMYKcmyk(31.9%, 45.8%, 0%, 6.7%)
CIE-LABlab(61.27, 35.87, -50.62)
CIE-LCHlch(61.27, 62.04, 305.32°)
OKLaboklab(68.06% 0.0691 -0.1424)
OKLCHoklch(68.06% 0.158 295.9)
XYZxyz(38.1793, 29.5544, 84.5654)
Luminance0.2955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A281EE #CDEE81
analogous
#8197EE #A281EE #D981EE
triadic
#A281EE #EEA281 #81EEA2
tetradic
#A281EE #EE8197 #CDEE81 #81EED9
square
#A281EE #EE8197 #CDEE81 #81EED9
split-complementary
#A281EE #EED981 #97EE81
monochromatic
#561DD8 #7A4BE7 #A281EE #CAB7F5 #EBE4FB

Accessibility & contrast

On white

3.04
#A281EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#A281EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A281EE
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A281EE#FFFFFF#000000##000000
##A281EE1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F2
Deuteranopia (green-blind)
#6492EB
Tritanopia (blue-blind)
#9195AC
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a281ee;
/* rgb */ color: rgb(162, 129, 238);
/* oklch */ color: oklch(68.1% 0.158 295.9);
Tailwind
colors: {
  custom: {
    50: '#c0a6f4',
    500: '#a281ee',
    950: '#000000',
  },
}
SCSS
$custom: #a281ee;
$custom-light: #c0a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a281ee",
  "rgb": {
    "r": 162,
    "g": 129,
    "b": 238
  },
  "hsl": {
    "h": 258.165,
    "s": 76.224,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68063,
    "c": 0.15825,
    "h": 295.9
  },
  "luminance": 0.29555
}

Semantic roles & 50–950 ramp

primary
#A281EE
secondary
#EBF3D8
accent
#D80D9B
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A281EE

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

Preview Lab → · Contrast checker → · Palette generator →

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