#A18BD6#A18BD6

#A18BD6 is a light, moderate violet. Relative luminance 0.309; OKLCH L 68.5% C 0.110 H 296.9°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#A18BD6
RGBrgb(161, 139, 214)
HSLhsl(258, 48%, 69%)
HSVhsv(258, 35%, 84%)
CMYKcmyk(24.8%, 35%, 0%, 16.1%)
CIE-LABlab(62.42, 23.96, -35.47)
CIE-LCHlch(62.42, 42.80, 304.04°)
OKLaboklab(68.55% 0.0499 -0.0985)
OKLCHoklch(68.55% 0.11 296.9)
XYZxyz(36.0654, 30.8970, 67.6689)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18BD6 #C0D68B
analogous
#8B9BD6 #A18BD6 #C78BD6
triadic
#A18BD6 #D6A18B #8BD6A1
tetradic
#A18BD6 #D68B9B #C0D68B #8BD6C7
square
#A18BD6 #D68B9B #C0D68B #8BD6C7
split-complementary
#A18BD6 #D6C78B #9BD68B
monochromatic
#5D3CAA #7C5EC6 #A18BD6 #C6B8E6 #EAE5F6

Accessibility & contrast

On white

2.93
#A18BD6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#A18BD6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18BD6
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18BD6#FFFFFF#000000##000000
##A18BD61.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7897D9
Deuteranopia (green-blind)
#7C96D4
Tritanopia (blue-blind)
#9797A7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a18bd6;
/* rgb */ color: rgb(161, 139, 214);
/* oklch */ color: oklch(68.5% 0.110 296.9);
Tailwind
colors: {
  custom: {
    50: '#beade3',
    500: '#a18bd6',
    950: '#000000',
  },
}
SCSS
$custom: #a18bd6;
$custom-light: #beade3;
$custom-dark: #000000;
JSON
{
  "hex": "#a18bd6",
  "rgb": {
    "r": 161,
    "g": 139,
    "b": 214
  },
  "hsl": {
    "h": 257.6,
    "s": 47.771,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68545,
    "c": 0.11041,
    "h": 296.9
  },
  "luminance": 0.30897
}

Semantic roles & 50–950 ramp

primary
#A18BD6
secondary
#E3E9D3
accent
#BB2A91
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A18BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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