#A18EFE#A18EFE

#A18EFE is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.1% C 0.160 H 289.5°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#A18EFE
RGBrgb(161, 142, 254)
HSLhsl(250, 98%, 78%)
HSVhsv(250, 44%, 100%)
CMYKcmyk(36.6%, 44.1%, 0%, 0.4%)
CIE-LABlab(65.02, 32.37, -53.47)
CIE-LCHlch(65.02, 62.50, 301.19°)
OKLaboklab(71.14% 0.0533 -0.1507)
OKLCHoklch(71.14% 0.16 289.5)
XYZxyz(42.2555, 34.0777, 98.0980)
Luminance0.3408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18EFE #EBFE8E
analogous
#8EB3FE #A18EFE #D98EFE
triadic
#A18EFE #FEA18E #8EFEA1
tetradic
#A18EFE #FE8EB3 #EBFE8E #8EFED9
square
#A18EFE #FE8EB3 #EBFE8E #8EFED9
split-complementary
#A18EFE #FED98E #B3FE8E
monochromatic
#3C15FD #6F51FD #A18EFE #D3CBFF #E6E1FF

Accessibility & contrast

On white

2.69
#A18EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#A18EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18EFE
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18EFE#FFFFFF#000000##000000
##A18EFE1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#67A0FF
Deuteranopia (green-blind)
#689BFB
Tritanopia (blue-blind)
#89A4BA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a18efe;
/* rgb */ color: rgb(161, 142, 254);
/* oklch */ color: oklch(71.1% 0.160 289.5);
Tailwind
colors: {
  custom: {
    50: '#c0afff',
    500: '#a18efe',
    950: '#000000',
  },
}
SCSS
$custom: #a18efe;
$custom-light: #c0afff;
$custom-dark: #000000;
JSON
{
  "hex": "#a18efe",
  "rgb": {
    "r": 161,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 250.179,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.71137,
    "c": 0.15988,
    "h": 289.5
  },
  "luminance": 0.34079
}

Semantic roles & 50–950 ramp

primary
#A18EFE
secondary
#F1F7D4
accent
#E600BF
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A18EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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