#A18EEF#A18EEF

#A18EEF is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.3% C 0.140 H 291.4°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#A18EEF
RGBrgb(161, 142, 239)
HSLhsl(252, 75%, 75%)
HSVhsv(252, 41%, 94%)
CMYKcmyk(32.6%, 40.6%, 0%, 6.3%)
CIE-LABlab(64.29, 28.47, -46.41)
CIE-LCHlch(64.29, 54.44, 301.53°)
OKLaboklab(70.34% 0.051 -0.1301)
OKLCHoklch(70.34% 0.14 291.4)
XYZxyz(39.9469, 33.1542, 85.9394)
Luminance0.3316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18EEF #DCEF8E
analogous
#8EABEF #A18EEF #D28EEF
triadic
#A18EEF #EFA18E #8EEFA1
tetradic
#A18EEF #EF8EAB #DCEF8E #8EEFD2
square
#A18EEF #EF8EAB #DCEF8E #8EEFD2
split-complementary
#A18EEF #EFD28E #ABEF8E
monochromatic
#4823E0 #7458E7 #A18EEF #CEC4F7 #E9E4FB

Accessibility & contrast

On white

2.75
#A18EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#A18EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18EEF
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18EEF#FFFFFF#000000##000000
##A18EEF1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#709DF3
Deuteranopia (green-blind)
#729AED
Tritanopia (blue-blind)
#8EA0B3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a18eef;
/* rgb */ color: rgb(161, 142, 239);
/* oklch */ color: oklch(70.3% 0.140 291.4);
Tailwind
colors: {
  custom: {
    50: '#bfaff4',
    500: '#a18eef',
    950: '#000000',
  },
}
SCSS
$custom: #a18eef;
$custom-light: #bfaff4;
$custom-dark: #000000;
JSON
{
  "hex": "#a18eef",
  "rgb": {
    "r": 161,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 251.753,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70337,
    "c": 0.13976,
    "h": 291.4
  },
  "luminance": 0.33155
}

Semantic roles & 50–950 ramp

primary
#A18EEF
secondary
#EEF3D8
accent
#D70EB0
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A18EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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