#A18DCD#A18DCD

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

Color values

HEX#A18DCD
RGBrgb(161, 141, 205)
HSLhsl(259, 39%, 68%)
HSVhsv(259, 31%, 80%)
CMYKcmyk(21.5%, 31.2%, 0%, 19.6%)
CIE-LABlab(62.54, 20.68, -30.25)
CIE-LCHlch(62.54, 36.65, 304.35°)
OKLaboklab(68.51% 0.0448 -0.0835)
OKLCHoklch(68.51% 0.095 298.2)
XYZxyz(35.2398, 31.0344, 61.8795)
Luminance0.3104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18DCD #B9CD8D
analogous
#8D99CD #A18DCD #C18DCD
triadic
#A18DCD #CDA18D #8DCDA1
tetradic
#A18DCD #CD8D99 #B9CD8D #8DCDC1
square
#A18DCD #CD8D99 #B9CD8D #8DCDC1
split-complementary
#A18DCD #CDC18D #99CD8D
monochromatic
#5F449B #7E62BA #A18DCD #C4B8E0 #E7E2F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A18DCD#FFFFFF#000000##000000
##A18DCD1.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)
#7E97D0
Deuteranopia (green-blind)
#8197CB
Tritanopia (blue-blind)
#9997A4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a18dcd;
/* rgb */ color: rgb(161, 141, 205);
/* oklch */ color: oklch(68.5% 0.095 298.2);
Tailwind
colors: {
  custom: {
    50: '#bdaedc',
    500: '#a18dcd',
    950: '#000000',
  },
}
SCSS
$custom: #a18dcd;
$custom-light: #bdaedc;
$custom-dark: #000000;
JSON
{
  "hex": "#a18dcd",
  "rgb": {
    "r": 161,
    "g": 141,
    "b": 205
  },
  "hsl": {
    "h": 258.75,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68509,
    "c": 0.09481,
    "h": 298.2
  },
  "luminance": 0.31035
}

Semantic roles & 50–950 ramp

primary
#A18DCD
secondary
#DFE5D1
accent
#B2338A
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A18DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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