#A18EC7#A18EC7

#A18EC7 is a light, moderate violet. Relative luminance 0.310; OKLCH L 68.4% C 0.085 H 299.4°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#A18EC7
RGBrgb(161, 142, 199)
HSLhsl(260, 34%, 67%)
HSVhsv(260, 29%, 78%)
CMYKcmyk(19.1%, 28.6%, 0%, 22%)
CIE-LABlab(62.55, 18.71, -26.87)
CIE-LCHlch(62.55, 32.75, 304.85°)
OKLaboklab(68.44% 0.0417 -0.0739)
OKLCHoklch(68.44% 0.085 299.4)
XYZxyz(34.6775, 31.0465, 58.1874)
Luminance0.3105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18EC7 #B4C78E
analogous
#8E98C7 #A18EC7 #BE8EC7
triadic
#A18EC7 #C7A18E #8EC7A1
tetradic
#A18EC7 #C78E98 #B4C78E #8EC7BE
square
#A18EC7 #C78E98 #B4C78E #8EC7BE
split-complementary
#A18EC7 #C7BE8E #98C78E
monochromatic
#614892 #7F65B3 #A18EC7 #C3B7DB #E5E0F0

Accessibility & contrast

On white

2.91
#A18EC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#A18EC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18EC7
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18EC7#FFFFFF#000000##000000
##A18EC71.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8297C9
Deuteranopia (green-blind)
#8597C5
Tritanopia (blue-blind)
#9A97A2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a18ec7;
/* rgb */ color: rgb(161, 142, 199);
/* oklch */ color: oklch(68.4% 0.085 299.4);
Tailwind
colors: {
  custom: {
    50: '#bdafd8',
    500: '#a18ec7',
    950: '#000000',
  },
}
SCSS
$custom: #a18ec7;
$custom-light: #bdafd8;
$custom-dark: #000000;
JSON
{
  "hex": "#a18ec7",
  "rgb": {
    "r": 161,
    "g": 142,
    "b": 199
  },
  "hsl": {
    "h": 260,
    "s": 33.728,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68438,
    "c": 0.08488,
    "h": 299.4
  },
  "luminance": 0.31047
}

Semantic roles & 50–950 ramp

primary
#A18EC7
secondary
#DBE2CF
accent
#AD3986
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#121014
muted
#817F83

Preview Lab

Preview with #A18EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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