#A18FDB#A18FDB

#A18FDB is a light, moderate violet. Relative luminance 0.323; OKLCH L 69.5% C 0.111 H 294.2°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#A18FDB
RGBrgb(161, 143, 219)
HSLhsl(254, 51%, 71%)
HSVhsv(254, 35%, 86%)
CMYKcmyk(26.5%, 34.7%, 0%, 14.1%)
CIE-LABlab(63.62, 22.89, -36.38)
CIE-LCHlch(63.62, 42.99, 302.17°)
OKLaboklab(69.53% 0.0455 -0.1011)
OKLCHoklch(69.53% 0.111 294.2)
XYZxyz(37.3035, 32.3360, 71.2802)
Luminance0.3234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18FDB #C9DB8F
analogous
#8FA3DB #A18FDB #C78FDB
triadic
#A18FDB #DBA18F #8FDBA1
tetradic
#A18FDB #DB8FA3 #C9DB8F #8FDBC7
square
#A18FDB #DB8FA3 #C9DB8F #8FDBC7
split-complementary
#A18FDB #DBC78F #A3DB8F
monochromatic
#573AB5 #7A61CC #A18FDB #C8BDEA #ECE8F8

Accessibility & contrast

On white

2.81
#A18FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#A18FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18FDB
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18FDB#FFFFFF#000000##000000
##A18FDB1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9BDE
Deuteranopia (green-blind)
#7D99D9
Tritanopia (blue-blind)
#959CAB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a18fdb;
/* rgb */ color: rgb(161, 143, 219);
/* oklch */ color: oklch(69.5% 0.111 294.2);
Tailwind
colors: {
  custom: {
    50: '#beb0e6',
    500: '#a18fdb',
    950: '#000000',
  },
}
SCSS
$custom: #a18fdb;
$custom-light: #beb0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a18fdb",
  "rgb": {
    "r": 161,
    "g": 143,
    "b": 219
  },
  "hsl": {
    "h": 254.211,
    "s": 51.351,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69532,
    "c": 0.11088,
    "h": 294.2
  },
  "luminance": 0.32336
}

Semantic roles & 50–950 ramp

primary
#A18FDB
secondary
#E8EDD9
accent
#BF279B
background
#FBFAFE
surface
#F7F4FC
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A18FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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