#A18ECD#A18ECD

#A18ECD is a light, moderate violet. Relative luminance 0.313; OKLCH L 68.7% C 0.093 H 297.8°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#A18ECD
RGBrgb(161, 142, 205)
HSLhsl(258, 39%, 68%)
HSVhsv(258, 31%, 80%)
CMYKcmyk(21.5%, 30.7%, 0%, 19.6%)
CIE-LABlab(62.79, 20.11, -29.87)
CIE-LCHlch(62.79, 36.01, 303.95°)
OKLaboklab(68.7% 0.0434 -0.0824)
OKLCHoklch(68.7% 0.093 297.8)
XYZxyz(35.3879, 31.3306, 61.9288)
Luminance0.3133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18ECD #BACD8E
analogous
#8E9ACD #A18ECD #C08ECD
triadic
#A18ECD #CDA18E #8ECDA1
tetradic
#A18ECD #CD8E9A #BACD8E #8ECDC0
square
#A18ECD #CD8E9A #BACD8E #8ECDC0
split-complementary
#A18ECD #CDC08E #9ACD8E
monochromatic
#5F459C #7E64BA #A18ECD #C4B8E0 #E8E3F3

Accessibility & contrast

On white

2.89
#A18ECD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#A18ECD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18ECD
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18ECD#FFFFFF#000000##000000
##A18ECD1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F98D0
Deuteranopia (green-blind)
#8297CB
Tritanopia (blue-blind)
#9998A5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a18ecd;
/* rgb */ color: rgb(161, 142, 205);
/* oklch */ color: oklch(68.7% 0.093 297.8);
Tailwind
colors: {
  custom: {
    50: '#bdafdc',
    500: '#a18ecd',
    950: '#000000',
  },
}
SCSS
$custom: #a18ecd;
$custom-light: #bdafdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a18ecd",
  "rgb": {
    "r": 161,
    "g": 142,
    "b": 205
  },
  "hsl": {
    "h": 258.095,
    "s": 38.65,
    "l": 68.039
  },
  "oklch": {
    "l": 0.687,
    "c": 0.09316,
    "h": 297.8
  },
  "luminance": 0.31331
}

Semantic roles & 50–950 ramp

primary
#A18ECD
secondary
#DFE5D2
accent
#B2348C
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A18ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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