#A27AE9#A27AE9

#A27AE9 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.6% C 0.163 H 298.5°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A27AE9
RGBrgb(162, 122, 233)
HSLhsl(262, 72%, 70%)
HSVhsv(262, 48%, 91%)
CMYKcmyk(30.5%, 47.6%, 0%, 8.6%)
CIE-LABlab(59.42, 38.56, -50.78)
CIE-LCHlch(59.42, 63.76, 307.21°)
OKLaboklab(66.59% 0.0776 -0.1428)
OKLCHoklch(66.59% 0.163 298.5)
XYZxyz(36.5643, 27.4833, 80.4534)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A27AE9 #C1E97A
analogous
#7A89E9 #A27AE9 #DA7AE9
triadic
#A27AE9 #E9A27A #7AE9A2
tetradic
#A27AE9 #E97A89 #C1E97A #7AE9DA
square
#A27AE9 #E97A89 #C1E97A #7AE9DA
split-complementary
#A27AE9 #E9DA7A #89E97A
monochromatic
#5D21C8 #7D45E0 #A27AE9 #C7AFF2 #EBE3FA

Accessibility & contrast

On white

3.23
#A27AE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#A27AE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A27AE9
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A27AE9#FFFFFF#000000##000000
##A27AE91.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#568FED
Deuteranopia (green-blind)
#5F8EE6
Tritanopia (blue-blind)
#938FA7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a27ae9;
/* rgb */ color: rgb(162, 122, 233);
/* oklch */ color: oklch(66.6% 0.163 298.5);
Tailwind
colors: {
  custom: {
    50: '#c0a1f0',
    500: '#a27ae9',
    950: '#000000',
  },
}
SCSS
$custom: #a27ae9;
$custom-light: #c0a1f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a27ae9",
  "rgb": {
    "r": 162,
    "g": 122,
    "b": 233
  },
  "hsl": {
    "h": 261.622,
    "s": 71.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66593,
    "c": 0.16257,
    "h": 298.5
  },
  "luminance": 0.27484
}

Semantic roles & 50–950 ramp

primary
#A27AE9
secondary
#E4EFD0
accent
#D4128E
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A27AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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