#A281EF#A281EF

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

Color values

HEX#A281EF
RGBrgb(162, 129, 239)
HSLhsl(258, 77%, 72%)
HSVhsv(258, 46%, 94%)
CMYKcmyk(32.2%, 46%, 0%, 6.3%)
CIE-LABlab(61.32, 36.12, -51.09)
CIE-LCHlch(61.32, 62.57, 305.26°)
OKLaboklab(68.12% 0.0692 -0.1438)
OKLCHoklch(68.12% 0.16 295.7)
XYZxyz(38.3267, 29.6133, 85.3413)
Luminance0.2961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A281EF #CEEF81
analogous
#8197EF #A281EF #D981EF
triadic
#A281EF #EFA281 #81EFA2
tetradic
#A281EF #EF8197 #CEEF81 #81EFD9
square
#A281EF #EF8197 #CEEF81 #81EFD9
split-complementary
#A281EF #EFD981 #97EF81
monochromatic
#551CDA #7A4BE8 #A281EF #CAB7F6 #EBE4FC

Accessibility & contrast

On white

3.03
#A281EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#A281EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A281EF
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A281EF#FFFFFF#000000##000000
##A281EF1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D95F3
Deuteranopia (green-blind)
#6393EC
Tritanopia (blue-blind)
#9196AD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a281ef;
/* rgb */ color: rgb(162, 129, 239);
/* oklch */ color: oklch(68.1% 0.160 295.7);
Tailwind
colors: {
  custom: {
    50: '#c0a6f5',
    500: '#a281ef',
    950: '#000000',
  },
}
SCSS
$custom: #a281ef;
$custom-light: #c0a6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a281ef",
  "rgb": {
    "r": 162,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 258,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68118,
    "c": 0.15954,
    "h": 295.7
  },
  "luminance": 0.29614
}

Semantic roles & 50–950 ramp

primary
#A281EF
secondary
#EBF3D8
accent
#DA0C9C
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A281EF

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

Preview Lab → · Contrast checker → · Palette generator →

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