#A18CDC#A18CDC

#A18CDC is a light, moderate violet. Relative luminance 0.315; OKLCH L 69.0% C 0.117 H 295.2°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#A18CDC
RGBrgb(161, 140, 220)
HSLhsl(256, 53%, 71%)
HSVhsv(256, 36%, 86%)
CMYKcmyk(26.8%, 36.4%, 0%, 13.7%)
CIE-LABlab(62.93, 24.85, -38.02)
CIE-LCHlch(62.93, 45.42, 303.17°)
OKLaboklab(69.02% 0.0499 -0.1058)
OKLCHoklch(69.02% 0.117 295.2)
XYZxyz(36.9912, 31.5001, 71.8275)
Luminance0.3150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18CDC #C7DC8C
analogous
#8C9FDC #A18CDC #C98CDC
triadic
#A18CDC #DCA18C #8CDCA1
tetradic
#A18CDC #DC8C9F #C7DC8C #8CDCC9
square
#A18CDC #DC8C9F #C7DC8C #8CDCC9
split-complementary
#A18CDC #DCC98C #9FDC8C
monochromatic
#5937B6 #7B5DCE #A18CDC #C7BBEA #ECE8F8

Accessibility & contrast

On white

2.88
#A18CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#A18CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18CDC
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18CDC#FFFFFF#000000##000000
##A18CDC1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799DF
Deuteranopia (green-blind)
#7A97DA
Tritanopia (blue-blind)
#959AAA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a18cdc;
/* rgb */ color: rgb(161, 140, 220);
/* oklch */ color: oklch(69.0% 0.117 295.2);
Tailwind
colors: {
  custom: {
    50: '#beade7',
    500: '#a18cdc',
    950: '#000000',
  },
}
SCSS
$custom: #a18cdc;
$custom-light: #beade7;
$custom-dark: #000000;
JSON
{
  "hex": "#a18cdc",
  "rgb": {
    "r": 161,
    "g": 140,
    "b": 220
  },
  "hsl": {
    "h": 255.75,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69018,
    "c": 0.117,
    "h": 295.2
  },
  "luminance": 0.31501
}

Semantic roles & 50–950 ramp

primary
#A18CDC
secondary
#E7EDD7
accent
#C12598
background
#FBFAFE
surface
#F7F4FC
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A18CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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