#A18AE4#A18AE4

#A18AE4 is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.0% C 0.131 H 294.5°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#A18AE4
RGBrgb(161, 138, 228)
HSLhsl(255, 63%, 72%)
HSVhsv(255, 39%, 89%)
CMYKcmyk(29.4%, 39.5%, 0%, 10.6%)
CIE-LABlab(62.81, 27.97, -42.66)
CIE-LCHlch(62.81, 51.01, 303.25°)
OKLaboklab(69.04% 0.0543 -0.1192)
OKLCHoklch(69.04% 0.131 294.5)
XYZxyz(37.7866, 31.3549, 77.4451)
Luminance0.3135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18AE4 #CDE48A
analogous
#8AA0E4 #A18AE4 #CE8AE4
triadic
#A18AE4 #E4A18A #8AE4A1
tetradic
#A18AE4 #E48AA0 #CDE48A #8AE4CE
square
#A18AE4 #E48AA0 #CDE48A #8AE4CE
split-complementary
#A18AE4 #E4CE8A #A0E48A
monochromatic
#552EC6 #7958D9 #A18AE4 #C9BCEF #EBE6F9

Accessibility & contrast

On white

2.89
#A18AE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#A18AE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18AE4
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18AE4#FFFFFF#000000##000000
##A18AE41.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7099E7
Deuteranopia (green-blind)
#7397E2
Tritanopia (blue-blind)
#929AAC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a18ae4;
/* rgb */ color: rgb(161, 138, 228);
/* oklch */ color: oklch(69.0% 0.131 294.5);
Tailwind
colors: {
  custom: {
    50: '#bfaced',
    500: '#a18ae4',
    950: '#000000',
  },
}
SCSS
$custom: #a18ae4;
$custom-light: #bfaced;
$custom-dark: #000000;
JSON
{
  "hex": "#a18ae4",
  "rgb": {
    "r": 161,
    "g": 138,
    "b": 228
  },
  "hsl": {
    "h": 255.333,
    "s": 62.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69044,
    "c": 0.13101,
    "h": 294.5
  },
  "luminance": 0.31355
}

Semantic roles & 50–950 ramp

primary
#A18AE4
secondary
#EAF0D9
accent
#CA1B9E
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A18AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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