#A281E9#A281E9

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

Color values

HEX#A281E9
RGBrgb(162, 129, 233)
HSLhsl(259, 70%, 71%)
HSVhsv(259, 45%, 91%)
CMYKcmyk(30.5%, 44.6%, 0%, 8.6%)
CIE-LABlab(61.01, 34.61, -48.25)
CIE-LCHlch(61.01, 59.38, 305.66°)
OKLaboklab(67.79% 0.0684 -0.1355)
OKLCHoklch(67.79% 0.152 296.8)
XYZxyz(37.4549, 29.2646, 80.7503)
Luminance0.2927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A281E9 #C8E981
analogous
#8194E9 #A281E9 #D681E9
triadic
#A281E9 #E9A281 #81E9A2
tetradic
#A281E9 #E98194 #C8E981 #81E9D6
square
#A281E9 #E98194 #C8E981 #81E9D6
split-complementary
#A281E9 #E9D681 #94E981
monochromatic
#5924CC #7C4DE0 #A281E9 #C8B5F2 #ECE5FA

Accessibility & contrast

On white

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

On black

6.85
#A281E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A281E9
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A281E9#FFFFFF#000000##000000
##A281E91.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6194ED
Deuteranopia (green-blind)
#6792E6
Tritanopia (blue-blind)
#9394AA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a281e9;
/* rgb */ color: rgb(162, 129, 233);
/* oklch */ color: oklch(67.8% 0.152 296.8);
Tailwind
colors: {
  custom: {
    50: '#c0a6f0',
    500: '#a281e9',
    950: '#000000',
  },
}
SCSS
$custom: #a281e9;
$custom-light: #c0a6f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a281e9",
  "rgb": {
    "r": 162,
    "g": 129,
    "b": 233
  },
  "hsl": {
    "h": 259.038,
    "s": 70.27,
    "l": 70.98
  },
  "oklch": {
    "l": 0.6779,
    "c": 0.15175,
    "h": 296.8
  },
  "luminance": 0.29265
}

Semantic roles & 50–950 ramp

primary
#A281E9
secondary
#E8F1D5
accent
#D21396
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #A281E9

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

Preview Lab → · Contrast checker → · Palette generator →

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