#A281EB#A281EB

#A281EB is a light, vivid violet. Relative luminance 0.294; OKLCH L 67.9% C 0.154 H 296.4°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A281EB
RGBrgb(162, 129, 235)
HSLhsl(259, 73%, 71%)
HSVhsv(259, 45%, 92%)
CMYKcmyk(31.1%, 45.1%, 0%, 7.8%)
CIE-LABlab(61.12, 35.11, -49.20)
CIE-LCHlch(61.12, 60.45, 305.52°)
OKLaboklab(67.9% 0.0687 -0.1382)
OKLCHoklch(67.9% 0.154 296.4)
XYZxyz(37.7423, 29.3796, 82.2635)
Luminance0.2938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A281EB #CAEB81
analogous
#8195EB #A281EB #D781EB
triadic
#A281EB #EBA281 #81EBA2
tetradic
#A281EB #EB8195 #CAEB81 #81EBD7
square
#A281EB #EB8195 #CAEB81 #81EBD7
split-complementary
#A281EB #EBD781 #95EB81
monochromatic
#5821D1 #7B4CE3 #A281EB #C9B6F3 #ECE5FB

Accessibility & contrast

On white

3.05
#A281EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#A281EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A281EB
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A281EB#FFFFFF#000000##000000
##A281EB1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EF
Deuteranopia (green-blind)
#6692E8
Tritanopia (blue-blind)
#9295AB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a281eb;
/* rgb */ color: rgb(162, 129, 235);
/* oklch */ color: oklch(67.9% 0.154 296.4);
Tailwind
colors: {
  custom: {
    50: '#c0a6f2',
    500: '#a281eb',
    950: '#000000',
  },
}
SCSS
$custom: #a281eb;
$custom-light: #c0a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a281eb",
  "rgb": {
    "r": 162,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 258.679,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67899,
    "c": 0.15435,
    "h": 296.4
  },
  "luminance": 0.2938
}

Semantic roles & 50–950 ramp

primary
#A281EB
secondary
#E9F2D6
accent
#D51198
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #A281EB

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

Preview Lab → · Contrast checker → · Palette generator →

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