#A18EF9#A18EF9

#A18EF9 is a light, vivid violet. Relative luminance 0.338; OKLCH L 70.9% C 0.153 H 290.1°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#A18EF9
RGBrgb(161, 142, 249)
HSLhsl(251, 90%, 77%)
HSVhsv(251, 43%, 98%)
CMYKcmyk(35.3%, 43%, 0%, 2.4%)
CIE-LABlab(64.77, 31.06, -51.13)
CIE-LCHlch(64.77, 59.82, 301.27°)
OKLaboklab(70.87% 0.0526 -0.1439)
OKLCHoklch(70.87% 0.153 290.1)
XYZxyz(41.4653, 33.7616, 93.9361)
Luminance0.3376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18EF9 #E6F98E
analogous
#8EB1F9 #A18EF9 #D78EF9
triadic
#A18EF9 #F9A18E #8EF9A1
tetradic
#A18EF9 #F98EB1 #E6F98E #8EF9D7
square
#A18EF9 #F98EB1 #E6F98E #8EF9D7
split-complementary
#A18EF9 #F9D78E #B1F98E
monochromatic
#401AF3 #7154F6 #A18EF9 #D1C8FC #E7E2FD

Accessibility & contrast

On white

2.71
#A18EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#A18EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18EF9
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18EF9#FFFFFF#000000##000000
##A18EF91.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFD
Deuteranopia (green-blind)
#6B9BF6
Tritanopia (blue-blind)
#8BA2B8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a18ef9;
/* rgb */ color: rgb(161, 142, 249);
/* oklch */ color: oklch(70.9% 0.153 290.1);
Tailwind
colors: {
  custom: {
    50: '#c0affc',
    500: '#a18ef9',
    950: '#000000',
  },
}
SCSS
$custom: #a18ef9;
$custom-light: #c0affc;
$custom-dark: #000000;
JSON
{
  "hex": "#a18ef9",
  "rgb": {
    "r": 161,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 250.654,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.70866,
    "c": 0.1532,
    "h": 290.1
  },
  "luminance": 0.33763
}

Semantic roles & 50–950 ramp

primary
#A18EF9
secondary
#F0F6D5
accent
#E600BD
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #A18EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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