#A281ED#A281ED

#A281ED is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.0% C 0.157 H 296.1°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#A281ED
RGBrgb(162, 129, 237)
HSLhsl(258, 75%, 72%)
HSVhsv(258, 46%, 93%)
CMYKcmyk(31.6%, 45.6%, 0%, 7.1%)
CIE-LABlab(61.22, 35.62, -50.15)
CIE-LCHlch(61.22, 61.51, 305.38°)
OKLaboklab(68.01% 0.0689 -0.141)
OKLCHoklch(68.01% 0.157 296.1)
XYZxyz(38.0328, 29.4958, 83.7938)
Luminance0.2950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A281ED #CCED81
analogous
#8196ED #A281ED #D881ED
triadic
#A281ED #EDA281 #81EDA2
tetradic
#A281ED #ED8196 #CCED81 #81EDD8
square
#A281ED #ED8196 #CCED81 #81EDD8
split-complementary
#A281ED #EDD881 #96ED81
monochromatic
#561ED5 #7A4BE5 #A281ED #CAB7F5 #EBE4FB

Accessibility & contrast

On white

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

On black

6.90
#A281ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A281ED
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A281ED#FFFFFF#000000##000000
##A281ED1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94F1
Deuteranopia (green-blind)
#6492EA
Tritanopia (blue-blind)
#9295AC
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a281ed;
/* rgb */ color: rgb(162, 129, 237);
/* oklch */ color: oklch(68.0% 0.157 296.1);
Tailwind
colors: {
  custom: {
    50: '#c0a6f3',
    500: '#a281ed',
    950: '#000000',
  },
}
SCSS
$custom: #a281ed;
$custom-light: #c0a6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a281ed",
  "rgb": {
    "r": 162,
    "g": 129,
    "b": 237
  },
  "hsl": {
    "h": 258.333,
    "s": 75,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68008,
    "c": 0.15696,
    "h": 296.1
  },
  "luminance": 0.29496
}

Semantic roles & 50–950 ramp

primary
#A281ED
secondary
#EAF3D7
accent
#D70E9A
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #A281ED

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

Preview Lab → · Contrast checker → · Palette generator →

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