#A18DFD#A18DFD

#A18DFD is a light, vivid violet. Relative luminance 0.337; OKLCH L 70.9% C 0.160 H 289.9°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#A18DFD
RGBrgb(161, 141, 253)
HSLhsl(251, 97%, 77%)
HSVhsv(251, 44%, 99%)
CMYKcmyk(36.4%, 44.3%, 0%, 0.8%)
CIE-LABlab(64.74, 32.67, -53.38)
CIE-LCHlch(64.74, 62.58, 301.47°)
OKLaboklab(70.91% 0.0545 -0.1504)
OKLCHoklch(70.91% 0.16 289.9)
XYZxyz(41.9477, 33.7175, 97.2075)
Luminance0.3372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18DFD #E9FD8D
analogous
#8DB1FD #A18DFD #D98DFD
triadic
#A18DFD #FDA18D #8DFDA1
tetradic
#A18DFD #FD8DB1 #E9FD8D #8DFDD9
square
#A18DFD #FD8DB1 #E9FD8D #8DFDD9
split-complementary
#A18DFD #FDD98D #B1FD8D
monochromatic
#3E15FB #6F51FC #A18DFD #D3C9FE #E6E1FE

Accessibility & contrast

On white

2.71
#A18DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#A18DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18DFD
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18DFD#FFFFFF#000000##000000
##A18DFD1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#679BFA
Tritanopia (blue-blind)
#89A3B9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a18dfd;
/* rgb */ color: rgb(161, 141, 253);
/* oklch */ color: oklch(70.9% 0.160 289.9);
Tailwind
colors: {
  custom: {
    50: '#c0aefe',
    500: '#a18dfd',
    950: '#000000',
  },
}
SCSS
$custom: #a18dfd;
$custom-light: #c0aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#a18dfd",
  "rgb": {
    "r": 161,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 250.714,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.70905,
    "c": 0.16,
    "h": 289.9
  },
  "luminance": 0.33719
}

Semantic roles & 50–950 ramp

primary
#A18DFD
secondary
#F1F7D4
accent
#E600BD
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A18DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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