#A18CD6#A18CD6

#A18CD6 is a light, moderate violet. Relative luminance 0.312; OKLCH L 68.7% C 0.109 H 296.5°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#A18CD6
RGBrgb(161, 140, 214)
HSLhsl(257, 47%, 69%)
HSVhsv(257, 35%, 84%)
CMYKcmyk(24.8%, 34.6%, 0%, 16.1%)
CIE-LABlab(62.67, 23.39, -35.09)
CIE-LCHlch(62.67, 42.17, 303.69°)
OKLaboklab(68.73% 0.0485 -0.0974)
OKLCHoklch(68.73% 0.109 296.5)
XYZxyz(36.2108, 31.1879, 67.7174)
Luminance0.3119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18CD6 #C1D68C
analogous
#8C9CD6 #A18CD6 #C68CD6
triadic
#A18CD6 #D6A18C #8CD6A1
tetradic
#A18CD6 #D68C9C #C1D68C #8CD6C6
square
#A18CD6 #D68C9C #C1D68C #8CD6C6
split-complementary
#A18CD6 #D6C68C #9CD68C
monochromatic
#5C3DAB #7C5FC6 #A18CD6 #C6B9E6 #EBE6F6

Accessibility & contrast

On white

2.90
#A18CD6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#A18CD6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18CD6
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18CD6#FFFFFF#000000##000000
##A18CD61.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7998D9
Deuteranopia (green-blind)
#7D97D4
Tritanopia (blue-blind)
#9698A7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a18cd6;
/* rgb */ color: rgb(161, 140, 214);
/* oklch */ color: oklch(68.7% 0.109 296.5);
Tailwind
colors: {
  custom: {
    50: '#beade3',
    500: '#a18cd6',
    950: '#000000',
  },
}
SCSS
$custom: #a18cd6;
$custom-light: #beade3;
$custom-dark: #000000;
JSON
{
  "hex": "#a18cd6",
  "rgb": {
    "r": 161,
    "g": 140,
    "b": 214
  },
  "hsl": {
    "h": 257.027,
    "s": 47.436,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68732,
    "c": 0.10879,
    "h": 296.5
  },
  "luminance": 0.31188
}

Semantic roles & 50–950 ramp

primary
#A18CD6
secondary
#E4EAD4
accent
#BB2B92
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A18CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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