#A18BEC#A18BEC

#A18BEC is a light, vivid violet. Relative luminance 0.321; OKLCH L 69.6% C 0.140 H 292.8°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#A18BEC
RGBrgb(161, 139, 236)
HSLhsl(254, 72%, 74%)
HSVhsv(254, 41%, 93%)
CMYKcmyk(31.8%, 41.1%, 0%, 7.5%)
CIE-LABlab(63.42, 29.42, -46.11)
CIE-LCHlch(63.42, 54.70, 302.53°)
OKLaboklab(69.64% 0.0544 -0.1293)
OKLCHoklch(69.64% 0.14 292.8)
XYZxyz(39.0670, 32.0977, 83.4778)
Luminance0.3210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18BEC #D6EC8B
analogous
#8BA5EC #A18BEC #D18BEC
triadic
#A18BEC #ECA18B #8BECA1
tetradic
#A18BEC #EC8BA5 #D6EC8B #8BECD1
square
#A18BEC #EC8BA5 #D6EC8B #8BECD1
split-complementary
#A18BEC #ECD18B #A5EC8B
monochromatic
#4D24D9 #7656E3 #A18BEC #CCC0F5 #EAE5FB

Accessibility & contrast

On white

2.83
#A18BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#A18BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18BEC
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18BEC#FFFFFF#000000##000000
##A18BEC1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9BF0
Deuteranopia (green-blind)
#7098EA
Tritanopia (blue-blind)
#909DB0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a18bec;
/* rgb */ color: rgb(161, 139, 236);
/* oklch */ color: oklch(69.6% 0.140 292.8);
Tailwind
colors: {
  custom: {
    50: '#bfadf2',
    500: '#a18bec',
    950: '#000000',
  },
}
SCSS
$custom: #a18bec;
$custom-light: #bfadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a18bec",
  "rgb": {
    "r": 161,
    "g": 139,
    "b": 236
  },
  "hsl": {
    "h": 253.608,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69636,
    "c": 0.14026,
    "h": 292.8
  },
  "luminance": 0.32098
}

Semantic roles & 50–950 ramp

primary
#A18BEC
secondary
#EDF2D9
accent
#D412A8
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A18BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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