#A18AFA#A18AFA

#A18AFA is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.2% C 0.160 H 291.1°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#A18AFA
RGBrgb(161, 138, 250)
HSLhsl(252, 92%, 76%)
HSVhsv(252, 45%, 98%)
CMYKcmyk(35.6%, 44.8%, 0%, 2%)
CIE-LABlab(63.88, 33.59, -53.09)
CIE-LCHlch(63.88, 62.83, 302.32°)
OKLaboklab(70.21% 0.0579 -0.1496)
OKLCHoklch(70.21% 0.16 291.1)
XYZxyz(41.0372, 32.6551, 94.5649)
Luminance0.3266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18AFA #E3FA8A
analogous
#8AABFA #A18AFA #D98AFA
triadic
#A18AFA #FAA18A #8AFAA1
tetradic
#A18AFA #FA8AAB #E3FA8A #8AFAD9
square
#A18AFA #FA8AAB #E3FA8A #8AFAD9
split-complementary
#A18AFA #FAD98A #ABFA8A
monochromatic
#4315F5 #724FF7 #A18AFA #D0C5FD #E7E2FE

Accessibility & contrast

On white

2.79
#A18AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#A18AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18AFA
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18AFA#FFFFFF#000000##000000
##A18AFA1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFE
Deuteranopia (green-blind)
#6698F7
Tritanopia (blue-blind)
#8BA0B6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a18afa;
/* rgb */ color: rgb(161, 138, 250);
/* oklch */ color: oklch(70.2% 0.160 291.1);
Tailwind
colors: {
  custom: {
    50: '#c0acfc',
    500: '#a18afa',
    950: '#000000',
  },
}
SCSS
$custom: #a18afa;
$custom-light: #c0acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a18afa",
  "rgb": {
    "r": 161,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 252.321,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.70208,
    "c": 0.16042,
    "h": 291.1
  },
  "luminance": 0.32656
}

Semantic roles & 50–950 ramp

primary
#A18AFA
secondary
#EFF6D5
accent
#E600B6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A18AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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