#A18FF8#A18FF8

#A18FF8 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.0% C 0.150 H 289.9°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#A18FF8
RGBrgb(161, 143, 248)
HSLhsl(250, 88%, 77%)
HSVhsv(250, 42%, 97%)
CMYKcmyk(35.1%, 42.3%, 0%, 2.7%)
CIE-LABlab(64.96, 30.23, -50.28)
CIE-LCHlch(64.96, 58.67, 301.01°)
OKLaboklab(70.99% 0.0512 -0.1414)
OKLCHoklch(70.99% 0.15 289.9)
XYZxyz(41.4592, 33.9982, 93.1667)
Luminance0.3400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18FF8 #E6F88F
analogous
#8FB2F8 #A18FF8 #D68FF8
triadic
#A18FF8 #F8A18F #8FF8A1
tetradic
#A18FF8 #F88FB2 #E6F88F #8FF8D6
square
#A18FF8 #F88FB2 #E6F88F #8FF8D6
split-complementary
#A18FF8 #F8D68F #B2F88F
monochromatic
#401CF1 #7155F4 #A18FF8 #D1C9FC #E7E2FD

Accessibility & contrast

On white

2.69
#A18FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#A18FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18FF8
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18FF8#FFFFFF#000000##000000
##A18FF81.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA0FC
Deuteranopia (green-blind)
#6D9BF5
Tritanopia (blue-blind)
#8BA3B8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a18ff8;
/* rgb */ color: rgb(161, 143, 248);
/* oklch */ color: oklch(71.0% 0.150 289.9);
Tailwind
colors: {
  custom: {
    50: '#c0b0fb',
    500: '#a18ff8',
    950: '#000000',
  },
}
SCSS
$custom: #a18ff8;
$custom-light: #c0b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a18ff8",
  "rgb": {
    "r": 161,
    "g": 143,
    "b": 248
  },
  "hsl": {
    "h": 250.286,
    "s": 88.235,
    "l": 76.667
  },
  "oklch": {
    "l": 0.70992,
    "c": 0.15039,
    "h": 289.9
  },
  "luminance": 0.33999
}

Semantic roles & 50–950 ramp

primary
#A18FF8
secondary
#F0F5D6
accent
#E501BE
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #A18FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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