#A18BEF#A18BEF

#A18BEF is a light, vivid violet. Relative luminance 0.323; OKLCH L 69.8% C 0.144 H 292.4°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#A18BEF
RGBrgb(161, 139, 239)
HSLhsl(253, 76%, 74%)
HSVhsv(253, 42%, 94%)
CMYKcmyk(32.6%, 41.8%, 0%, 6.3%)
CIE-LABlab(63.57, 30.18, -47.54)
CIE-LCHlch(63.57, 56.31, 302.41°)
OKLaboklab(69.79% 0.0549 -0.1334)
OKLCHoklch(69.79% 0.144 292.4)
XYZxyz(39.5065, 32.2735, 85.7926)
Luminance0.3227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18BEF #D9EF8B
analogous
#8BA7EF #A18BEF #D38BEF
triadic
#A18BEF #EFA18B #8BEFA1
tetradic
#A18BEF #EF8BA7 #D9EF8B #8BEFD3
square
#A18BEF #EF8BA7 #D9EF8B #8BEFD3
split-complementary
#A18BEF #EFD38B #A7EF8B
monochromatic
#4A1FE0 #7555E8 #A18BEF #CDC1F6 #E9E4FB

Accessibility & contrast

On white

2.82
#A18BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#A18BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18BEF
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18BEF#FFFFFF#000000##000000
##A18BEF1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9BF3
Deuteranopia (green-blind)
#6E98ED
Tritanopia (blue-blind)
#8F9EB2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a18bef;
/* rgb */ color: rgb(161, 139, 239);
/* oklch */ color: oklch(69.8% 0.144 292.4);
Tailwind
colors: {
  custom: {
    50: '#bfadf4',
    500: '#a18bef',
    950: '#000000',
  },
}
SCSS
$custom: #a18bef;
$custom-light: #bfadf4;
$custom-dark: #000000;
JSON
{
  "hex": "#a18bef",
  "rgb": {
    "r": 161,
    "g": 139,
    "b": 239
  },
  "hsl": {
    "h": 253.2,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69793,
    "c": 0.14428,
    "h": 292.4
  },
  "luminance": 0.32274
}

Semantic roles & 50–950 ramp

primary
#A18BEF
secondary
#EDF3D8
accent
#D80EAB
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A18BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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