#A18DEC#A18DEC

#A18DEC is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.0% C 0.137 H 292.1°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#A18DEC
RGBrgb(161, 141, 236)
HSLhsl(253, 71%, 74%)
HSVhsv(253, 40%, 93%)
CMYKcmyk(31.8%, 40.3%, 0%, 7.5%)
CIE-LABlab(63.90, 28.27, -45.36)
CIE-LCHlch(63.90, 53.45, 301.94°)
OKLaboklab(70% 0.0517 -0.1271)
OKLCHoklch(70% 0.137 292.1)
XYZxyz(39.3593, 32.6822, 83.5752)
Luminance0.3268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18DEC #D8EC8D
analogous
#8DA9EC #A18DEC #D18DEC
triadic
#A18DEC #ECA18D #8DECA1
tetradic
#A18DEC #EC8DA9 #D8EC8D #8DECD1
square
#A18DEC #EC8DA9 #D8EC8D #8DECD1
split-complementary
#A18DEC #ECD18D #A9EC8D
monochromatic
#4B24DA #7659E3 #A18DEC #CCC1F5 #E9E5FB

Accessibility & contrast

On white

2.79
#A18DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#A18DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18DEC
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18DEC#FFFFFF#000000##000000
##A18DEC1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CF0
Deuteranopia (green-blind)
#7299EA
Tritanopia (blue-blind)
#909EB1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a18dec;
/* rgb */ color: rgb(161, 141, 236);
/* oklch */ color: oklch(70.0% 0.137 292.1);
Tailwind
colors: {
  custom: {
    50: '#bfaef2',
    500: '#a18dec',
    950: '#000000',
  },
}
SCSS
$custom: #a18dec;
$custom-light: #bfaef2;
$custom-dark: #000000;
JSON
{
  "hex": "#a18dec",
  "rgb": {
    "r": 161,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 252.632,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.7,
    "c": 0.13721,
    "h": 292.1
  },
  "luminance": 0.32683
}

Semantic roles & 50–950 ramp

primary
#A18DEC
secondary
#EDF2D9
accent
#D312AB
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A18DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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