#A18BEE#A18BEE

#A18BEE is a light, vivid violet. Relative luminance 0.322; OKLCH L 69.7% C 0.143 H 292.5°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#A18BEE
RGBrgb(161, 139, 238)
HSLhsl(253, 74%, 74%)
HSVhsv(253, 42%, 93%)
CMYKcmyk(32.4%, 41.6%, 0%, 6.7%)
CIE-LABlab(63.52, 29.92, -47.06)
CIE-LCHlch(63.52, 55.77, 302.45°)
OKLaboklab(69.74% 0.0547 -0.132)
OKLCHoklch(69.74% 0.143 292.5)
XYZxyz(39.3592, 32.2146, 85.0167)
Luminance0.3221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18BEE #D8EE8B
analogous
#8BA7EE #A18BEE #D38BEE
triadic
#A18BEE #EEA18B #8BEEA1
tetradic
#A18BEE #EE8BA7 #D8EE8B #8BEED3
square
#A18BEE #EE8BA7 #D8EE8B #8BEED3
split-complementary
#A18BEE #EED38B #A7EE8B
monochromatic
#4B21DE #7656E6 #A18BEE #CCC0F6 #E9E4FB

Accessibility & contrast

On white

2.82
#A18BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#A18BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18BEE
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18BEE#FFFFFF#000000##000000
##A18BEE1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9BF2
Deuteranopia (green-blind)
#6F98EC
Tritanopia (blue-blind)
#8F9DB1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a18bee;
/* rgb */ color: rgb(161, 139, 238);
/* oklch */ color: oklch(69.7% 0.143 292.5);
Tailwind
colors: {
  custom: {
    50: '#bfadf4',
    500: '#a18bee',
    950: '#000000',
  },
}
SCSS
$custom: #a18bee;
$custom-light: #bfadf4;
$custom-dark: #000000;
JSON
{
  "hex": "#a18bee",
  "rgb": {
    "r": 161,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 253.333,
    "s": 74.436,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69741,
    "c": 0.14293,
    "h": 292.5
  },
  "luminance": 0.32215
}

Semantic roles & 50–950 ramp

primary
#A18BEE
secondary
#EDF3D8
accent
#D70FAA
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A18BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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