#A18BF6#A18BF6

#A18BF6 is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.2% C 0.154 H 291.4°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#A18BF6
RGBrgb(161, 139, 246)
HSLhsl(252, 86%, 75%)
HSVhsv(252, 43%, 96%)
CMYKcmyk(34.6%, 43.5%, 0%, 3.5%)
CIE-LABlab(63.91, 31.98, -50.85)
CIE-LCHlch(63.91, 60.07, 302.17°)
OKLaboklab(70.17% 0.056 -0.1431)
OKLCHoklch(70.17% 0.154 291.4)
XYZxyz(40.5607, 32.6952, 91.3447)
Luminance0.3270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18BF6 #E0F68B
analogous
#8BABF6 #A18BF6 #D68BF6
triadic
#A18BF6 #F6A18B #8BF6A1
tetradic
#A18BF6 #F68BAB #E0F68B #8BF6D6
square
#A18BF6 #F68BAB #E0F68B #8BF6D6
split-complementary
#A18BF6 #F6D68B #ABF68B
monochromatic
#4519ED #7352F2 #A18BF6 #CFC4FA #E8E3FD

Accessibility & contrast

On white

2.79
#A18BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#A18BF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18BF6
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18BF6#FFFFFF#000000##000000
##A18BF61.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#689DFA
Deuteranopia (green-blind)
#6A99F3
Tritanopia (blue-blind)
#8C9FB5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a18bf6;
/* rgb */ color: rgb(161, 139, 246);
/* oklch */ color: oklch(70.2% 0.154 291.4);
Tailwind
colors: {
  custom: {
    50: '#c0adf9',
    500: '#a18bf6',
    950: '#000000',
  },
}
SCSS
$custom: #a18bf6;
$custom-light: #c0adf9;
$custom-dark: #000000;
JSON
{
  "hex": "#a18bf6",
  "rgb": {
    "r": 161,
    "g": 139,
    "b": 246
  },
  "hsl": {
    "h": 252.336,
    "s": 85.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70167,
    "c": 0.15363,
    "h": 291.4
  },
  "luminance": 0.32696
}

Semantic roles & 50–950 ramp

primary
#A18BF6
secondary
#EEF5D6
accent
#E203B4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #A18BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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