#A18EFD#A18EFD

#A18EFD is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.1% C 0.159 H 289.6°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#A18EFD
RGBrgb(161, 142, 253)
HSLhsl(250, 97%, 77%)
HSVhsv(250, 44%, 99%)
CMYKcmyk(36.4%, 43.9%, 0%, 0.8%)
CIE-LABlab(64.97, 32.10, -53.00)
CIE-LCHlch(64.97, 61.97, 301.20°)
OKLaboklab(71.08% 0.0532 -0.1494)
OKLCHoklch(71.08% 0.159 289.6)
XYZxyz(42.0958, 34.0138, 97.2569)
Luminance0.3402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18EFD #EAFD8E
analogous
#8EB3FD #A18EFD #D88EFD
triadic
#A18EFD #FDA18E #8EFDA1
tetradic
#A18EFD #FD8EB3 #EAFD8E #8EFDD8
square
#A18EFD #FD8EB3 #EAFD8E #8EFDD8
split-complementary
#A18EFD #FDD88E #B3FD8E
monochromatic
#3D16FB #6F52FC #A18EFD #D3CAFE #E6E1FE

Accessibility & contrast

On white

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

On black

7.80
#A18EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18EFD
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18EFD#FFFFFF#000000##000000
##A18EFD1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#689BFA
Tritanopia (blue-blind)
#89A4B9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a18efd;
/* rgb */ color: rgb(161, 142, 253);
/* oklch */ color: oklch(71.1% 0.159 289.6);
Tailwind
colors: {
  custom: {
    50: '#c0affe',
    500: '#a18efd',
    950: '#000000',
  },
}
SCSS
$custom: #a18efd;
$custom-light: #c0affe;
$custom-dark: #000000;
JSON
{
  "hex": "#a18efd",
  "rgb": {
    "r": 161,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 250.27,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.71083,
    "c": 0.15855,
    "h": 289.6
  },
  "luminance": 0.34015
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A18EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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