#A281EA#A281EA

#A281EA is a light, vivid violet. Relative luminance 0.293; OKLCH L 67.8% C 0.153 H 296.6°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#A281EA
RGBrgb(162, 129, 234)
HSLhsl(259, 71%, 71%)
HSVhsv(259, 45%, 92%)
CMYKcmyk(30.8%, 44.9%, 0%, 8.2%)
CIE-LABlab(61.06, 34.86, -48.73)
CIE-LCHlch(61.06, 59.91, 305.58°)
OKLaboklab(67.84% 0.0685 -0.1369)
OKLCHoklch(67.84% 0.153 296.6)
XYZxyz(37.5982, 29.3219, 81.5048)
Luminance0.2932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A281EA #C9EA81
analogous
#8194EA #A281EA #D681EA
triadic
#A281EA #EAA281 #81EAA2
tetradic
#A281EA #EA8194 #C9EA81 #81EAD6
square
#A281EA #EA8194 #C9EA81 #81EAD6
split-complementary
#A281EA #EAD681 #94EA81
monochromatic
#5822CE #7B4DE1 #A281EA #C9B5F3 #ECE5FB

Accessibility & contrast

On white

3.06
#A281EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#A281EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A281EA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A281EA#FFFFFF#000000##000000
##A281EA1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EE
Deuteranopia (green-blind)
#6692E7
Tritanopia (blue-blind)
#9394AA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a281ea;
/* rgb */ color: rgb(162, 129, 234);
/* oklch */ color: oklch(67.8% 0.153 296.6);
Tailwind
colors: {
  custom: {
    50: '#c0a6f1',
    500: '#a281ea',
    950: '#000000',
  },
}
SCSS
$custom: #a281ea;
$custom-light: #c0a6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a281ea",
  "rgb": {
    "r": 162,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 258.857,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67844,
    "c": 0.15305,
    "h": 296.6
  },
  "luminance": 0.29322
}

Semantic roles & 50–950 ramp

primary
#A281EA
secondary
#E9F1D6
accent
#D31297
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #A281EA

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

Preview Lab → · Contrast checker → · Palette generator →

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