#A18CD8#A18CD8

#A18CD8 is a light, moderate violet. Relative luminance 0.313; OKLCH L 68.8% C 0.112 H 296.0°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#A18CD8
RGBrgb(161, 140, 216)
HSLhsl(257, 49%, 70%)
HSVhsv(257, 35%, 85%)
CMYKcmyk(25.5%, 35.2%, 0%, 15.3%)
CIE-LABlab(62.75, 23.87, -36.07)
CIE-LCHlch(62.75, 43.25, 303.50°)
OKLaboklab(68.83% 0.049 -0.1002)
OKLCHoklch(68.83% 0.112 296)
XYZxyz(36.4678, 31.2907, 69.0709)
Luminance0.3129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18CD8 #C3D88C
analogous
#8C9DD8 #A18CD8 #C78CD8
triadic
#A18CD8 #D8A18C #8CD8A1
tetradic
#A18CD8 #D88C9D #C3D88C #8CD8C7
square
#A18CD8 #D88C9D #C3D88C #8CD8C7
split-complementary
#A18CD8 #D8C78C #9DD88C
monochromatic
#5B3BAE #7C5EC9 #A18CD8 #C6BAE7 #ECE7F7

Accessibility & contrast

On white

2.89
#A18CD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#A18CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18CD8
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18CD8#FFFFFF#000000##000000
##A18CD81.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7998DB
Deuteranopia (green-blind)
#7C97D6
Tritanopia (blue-blind)
#9699A8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a18cd8;
/* rgb */ color: rgb(161, 140, 216);
/* oklch */ color: oklch(68.8% 0.112 296.0);
Tailwind
colors: {
  custom: {
    50: '#beade4',
    500: '#a18cd8',
    950: '#000000',
  },
}
SCSS
$custom: #a18cd8;
$custom-light: #beade4;
$custom-dark: #000000;
JSON
{
  "hex": "#a18cd8",
  "rgb": {
    "r": 161,
    "g": 140,
    "b": 216
  },
  "hsl": {
    "h": 256.579,
    "s": 49.351,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68826,
    "c": 0.11153,
    "h": 296
  },
  "luminance": 0.31291
}

Semantic roles & 50–950 ramp

primary
#A18CD8
secondary
#E5EBD5
accent
#BD2994
background
#FBFAFE
surface
#F7F4FC
border
#D0CED5
text
#121015
muted
#817F84

Preview Lab

Preview with #A18CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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