#A18CD2#A18CD2

#A18CD2 is a light, moderate violet. Relative luminance 0.310; OKLCH L 68.5% C 0.103 H 297.4°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#A18CD2
RGBrgb(161, 140, 210)
HSLhsl(258, 44%, 69%)
HSVhsv(258, 33%, 82%)
CMYKcmyk(23.3%, 33.3%, 0%, 17.6%)
CIE-LABlab(62.50, 22.43, -33.12)
CIE-LCHlch(62.50, 40.00, 304.11°)
OKLaboklab(68.55% 0.0475 -0.0917)
OKLCHoklch(68.55% 0.103 297.4)
XYZxyz(35.7062, 30.9861, 65.0600)
Luminance0.3099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18CD2 #BDD28C
analogous
#8C9AD2 #A18CD2 #C48CD2
triadic
#A18CD2 #D2A18C #8CD2A1
tetradic
#A18CD2 #D28C9A #BDD28C #8CD2C4
square
#A18CD2 #D28C9A #BDD28C #8CD2C4
split-complementary
#A18CD2 #D2C48C #9AD28C
monochromatic
#5E40A4 #7D60C1 #A18CD2 #C5B8E3 #E9E4F4

Accessibility & contrast

On white

2.92
#A18CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#A18CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18CD2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18CD2#FFFFFF#000000##000000
##A18CD21.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B97D5
Deuteranopia (green-blind)
#7E96D0
Tritanopia (blue-blind)
#9897A6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a18cd2;
/* rgb */ color: rgb(161, 140, 210);
/* oklch */ color: oklch(68.5% 0.103 297.4);
Tailwind
colors: {
  custom: {
    50: '#beade0',
    500: '#a18cd2',
    950: '#000000',
  },
}
SCSS
$custom: #a18cd2;
$custom-light: #beade0;
$custom-dark: #000000;
JSON
{
  "hex": "#a18cd2",
  "rgb": {
    "r": 161,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 258,
    "s": 43.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68546,
    "c": 0.10331,
    "h": 297.4
  },
  "luminance": 0.30986
}

Semantic roles & 50–950 ramp

primary
#A18CD2
secondary
#E1E7D2
accent
#B72F8E
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A18CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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