#A18BD2#A18BD2

#A18BD2 is a light, moderate violet. Relative luminance 0.307; OKLCH L 68.4% C 0.105 H 297.8°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#A18BD2
RGBrgb(161, 139, 210)
HSLhsl(259, 44%, 68%)
HSVhsv(259, 34%, 82%)
CMYKcmyk(23.3%, 33.8%, 0%, 17.6%)
CIE-LABlab(62.25, 23.00, -33.50)
CIE-LCHlch(62.25, 40.64, 304.48°)
OKLaboklab(68.36% 0.049 -0.0928)
OKLCHoklch(68.36% 0.105 297.8)
XYZxyz(35.5608, 30.6952, 65.0116)
Luminance0.3070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18BD2 #BCD28B
analogous
#8B98D2 #A18BD2 #C48BD2
triadic
#A18BD2 #D2A18B #8BD2A1
tetradic
#A18BD2 #D28B98 #BCD28B #8BD2C4
square
#A18BD2 #D28B98 #BCD28B #8BD2C4
split-complementary
#A18BD2 #D2C48B #98D28B
monochromatic
#5E3FA3 #7D5FC1 #A18BD2 #C5B7E3 #E8E3F4

Accessibility & contrast

On white

2.94
#A18BD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#A18BD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18BD2
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18BD2#FFFFFF#000000##000000
##A18BD21.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A97D5
Deuteranopia (green-blind)
#7D96D0
Tritanopia (blue-blind)
#9897A5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a18bd2;
/* rgb */ color: rgb(161, 139, 210);
/* oklch */ color: oklch(68.4% 0.105 297.8);
Tailwind
colors: {
  custom: {
    50: '#beade0',
    500: '#a18bd2',
    950: '#000000',
  },
}
SCSS
$custom: #a18bd2;
$custom-light: #beade0;
$custom-dark: #000000;
JSON
{
  "hex": "#a18bd2",
  "rgb": {
    "r": 161,
    "g": 139,
    "b": 210
  },
  "hsl": {
    "h": 258.592,
    "s": 44.099,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68358,
    "c": 0.10494,
    "h": 297.8
  },
  "luminance": 0.30695
}

Semantic roles & 50–950 ramp

primary
#A18BD2
secondary
#E0E7D2
accent
#B72E8D
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A18BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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