#A18BB2#A18BB2

#A18BB2 is a light, moderate violet. Relative luminance 0.293; OKLCH L 67.0% C 0.062 H 310.2°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#A18BB2
RGBrgb(161, 139, 178)
HSLhsl(274, 20%, 62%)
HSVhsv(274, 22%, 70%)
CMYKcmyk(9.6%, 21.9%, 0%, 30.2%)
CIE-LABlab(61.01, 15.78, -17.38)
CIE-LCHlch(61.01, 23.47, 312.24°)
OKLaboklab(66.99% 0.0398 -0.0471)
OKLCHoklch(66.99% 0.062 310.2)
XYZxyz(31.9651, 29.2569, 46.0740)
Luminance0.2926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18BB2 #9CB28B
analogous
#8E8BB2 #A18BB2 #B28BB0
triadic
#A18BB2 #B2A18B #8BB2A1
tetradic
#A18BB2 #B28E8B #9CB28B #8BB0B2
square
#A18BB2 #B28E8B #9CB28B #8BB0B2
split-complementary
#A18BB2 #B0B28B #8BB28E
monochromatic
#644E75 #83669A #A18BB2 #BFB0CA #DDD5E3

Accessibility & contrast

On white

3.07
#A18BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#A18BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18BB2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18BB2#FFFFFF#000000##000000
##A18BB21.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8592B4
Deuteranopia (green-blind)
#8994B1
Tritanopia (blue-blind)
#9F9098
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a18bb2;
/* rgb */ color: rgb(161, 139, 178);
/* oklch */ color: oklch(67.0% 0.062 310.2);
Tailwind
colors: {
  custom: {
    50: '#bdadc9',
    500: '#a18bb2',
    950: '#000000',
  },
}
SCSS
$custom: #a18bb2;
$custom-light: #bdadc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a18bb2",
  "rgb": {
    "r": 161,
    "g": 139,
    "b": 178
  },
  "hsl": {
    "h": 273.846,
    "s": 20.207,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66994,
    "c": 0.06171,
    "h": 310.2
  },
  "luminance": 0.29257
}

Semantic roles & 50–950 ramp

primary
#A18BB2
secondary
#CBD4C5
accent
#9F476D
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#121013
muted
#817F82

Preview Lab

Preview with #A18BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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