#A18CFF#A18CFF

#A18CFF is a light, vivid violet. Relative luminance 0.336; OKLCH L 70.8% C 0.164 H 289.9°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#A18CFF
RGBrgb(161, 140, 255)
HSLhsl(251, 100%, 77%)
HSVhsv(251, 45%, 100%)
CMYKcmyk(36.9%, 45.1%, 0%, 0%)
CIE-LABlab(64.61, 33.77, -54.68)
CIE-LCHlch(64.61, 64.27, 301.70°)
OKLaboklab(70.84% 0.056 -0.1543)
OKLCHoklch(70.84% 0.164 289.9)
XYZxyz(42.1212, 33.5521, 98.8453)
Luminance0.3355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18CFF #EAFF8C
analogous
#8CB0FF #A18CFF #DB8CFF
triadic
#A18CFF #FFA18C #8CFFA1
tetradic
#A18CFF #FF8CB0 #EAFF8C #8CFFDB
square
#A18CFF #FF8CB0 #EAFF8C #8CFFDB
split-complementary
#A18CFF #FFDB8C #B0FF8C
monochromatic
#3D12FF #6F4FFF #A18CFF #D3C9FF #E6E0FF

Accessibility & contrast

On white

2.72
#A18CFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#A18CFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18CFF
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18CFF#FFFFFF#000000##000000
##A18CFF1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#639FFF
Deuteranopia (green-blind)
#649AFC
Tritanopia (blue-blind)
#89A2B9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a18cff;
/* rgb */ color: rgb(161, 140, 255);
/* oklch */ color: oklch(70.8% 0.164 289.9);
Tailwind
colors: {
  custom: {
    50: '#c0aeff',
    500: '#a18cff',
    950: '#000000',
  },
}
SCSS
$custom: #a18cff;
$custom-light: #c0aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#a18cff",
  "rgb": {
    "r": 161,
    "g": 140,
    "b": 255
  },
  "hsl": {
    "h": 250.957,
    "s": 100,
    "l": 77.451
  },
  "oklch": {
    "l": 0.70838,
    "c": 0.1641,
    "h": 289.9
  },
  "luminance": 0.33553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A18CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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