#A18BFA#A18BFA

#A18BFA is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.4% C 0.159 H 290.9°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#A18BFA
RGBrgb(161, 139, 250)
HSLhsl(252, 92%, 76%)
HSVhsv(252, 44%, 98%)
CMYKcmyk(35.6%, 44.4%, 0%, 2%)
CIE-LABlab(64.12, 33.02, -52.72)
CIE-LCHlch(64.12, 62.21, 302.06°)
OKLaboklab(70.38% 0.0566 -0.1485)
OKLCHoklch(70.38% 0.159 290.9)
XYZxyz(41.1813, 32.9434, 94.6129)
Luminance0.3294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18BFA #E4FA8B
analogous
#8BADFA #A18BFA #D98BFA
triadic
#A18BFA #FAA18B #8BFAA1
tetradic
#A18BFA #FA8BAD #E4FA8B #8BFAD9
square
#A18BFA #FA8BAD #E4FA8B #8BFAD9
split-complementary
#A18BFA #FAD98B #ADFA8B
monochromatic
#4216F5 #7150F7 #A18BFA #D1C6FD #E7E2FE

Accessibility & contrast

On white

2.77
#A18BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#A18BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18BFA
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18BFA#FFFFFF#000000##000000
##A18BFA1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFE
Deuteranopia (green-blind)
#6799F7
Tritanopia (blue-blind)
#8BA0B7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a18bfa;
/* rgb */ color: rgb(161, 139, 250);
/* oklch */ color: oklch(70.4% 0.159 290.9);
Tailwind
colors: {
  custom: {
    50: '#c0adfc',
    500: '#a18bfa',
    950: '#000000',
  },
}
SCSS
$custom: #a18bfa;
$custom-light: #c0adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a18bfa",
  "rgb": {
    "r": 161,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 251.892,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.70385,
    "c": 0.15895,
    "h": 290.9
  },
  "luminance": 0.32944
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A18BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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