#A18AF7#A18AF7

#A18AF7 is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.0% C 0.156 H 291.5°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#A18AF7
RGBrgb(161, 138, 247)
HSLhsl(253, 87%, 75%)
HSVhsv(253, 44%, 97%)
CMYKcmyk(34.8%, 44.1%, 0%, 3.1%)
CIE-LABlab(63.73, 32.81, -51.69)
CIE-LCHlch(63.73, 61.22, 302.41°)
OKLaboklab(70.04% 0.0574 -0.1455)
OKLCHoklch(70.04% 0.156 291.5)
XYZxyz(40.5705, 32.4685, 92.1072)
Luminance0.3247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18AF7 #E0F78A
analogous
#8AA9F7 #A18AF7 #D88AF7
triadic
#A18AF7 #F7A18A #8AF7A1
tetradic
#A18AF7 #F78AA9 #E0F78A #8AF7D8
square
#A18AF7 #F78AA9 #E0F78A #8AF7D8
split-complementary
#A18AF7 #F7D88A #A9F78A
monochromatic
#4517EF #7351F3 #A18AF7 #CFC3FB #E8E2FD

Accessibility & contrast

On white

2.80
#A18AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#A18AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18AF7
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18AF7#FFFFFF#000000##000000
##A18AF71.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFB
Deuteranopia (green-blind)
#6898F4
Tritanopia (blue-blind)
#8C9FB5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a18af7;
/* rgb */ color: rgb(161, 138, 247);
/* oklch */ color: oklch(70.0% 0.156 291.5);
Tailwind
colors: {
  custom: {
    50: '#c0acfa',
    500: '#a18af7',
    950: '#000000',
  },
}
SCSS
$custom: #a18af7;
$custom-light: #c0acfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a18af7",
  "rgb": {
    "r": 161,
    "g": 138,
    "b": 247
  },
  "hsl": {
    "h": 252.661,
    "s": 87.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70043,
    "c": 0.15644,
    "h": 291.5
  },
  "luminance": 0.32469
}

Semantic roles & 50–950 ramp

primary
#A18AF7
secondary
#EEF5D6
accent
#E402B4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A18AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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