#A18BF8#A18BF8

#A18BF8 is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.3% C 0.156 H 291.1°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#A18BF8
RGBrgb(161, 139, 248)
HSLhsl(252, 89%, 76%)
HSVhsv(252, 44%, 97%)
CMYKcmyk(35.1%, 44%, 0%, 2.7%)
CIE-LABlab(64.01, 32.50, -51.78)
CIE-LCHlch(64.01, 61.14, 302.11°)
OKLaboklab(70.28% 0.0563 -0.1458)
OKLCHoklch(70.28% 0.156 291.1)
XYZxyz(40.8694, 32.8186, 92.9701)
Luminance0.3282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18BF8 #E2F88B
analogous
#8BABF8 #A18BF8 #D78BF8
triadic
#A18BF8 #F8A18B #8BF8A1
tetradic
#A18BF8 #F88BAB #E2F88B #8BF8D7
square
#A18BF8 #F88BAB #E2F88B #8BF8D7
split-complementary
#A18BF8 #F8D78B #ABF88B
monochromatic
#4318F1 #7251F5 #A18BF8 #D0C5FB #E8E2FD

Accessibility & contrast

On white

2.78
#A18BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#A18BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18BF8
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18BF8#FFFFFF#000000##000000
##A18BF81.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#669DFC
Deuteranopia (green-blind)
#6899F5
Tritanopia (blue-blind)
#8BA0B6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a18bf8;
/* rgb */ color: rgb(161, 139, 248);
/* oklch */ color: oklch(70.3% 0.156 291.1);
Tailwind
colors: {
  custom: {
    50: '#c0adfb',
    500: '#a18bf8',
    950: '#000000',
  },
}
SCSS
$custom: #a18bf8;
$custom-light: #c0adfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a18bf8",
  "rgb": {
    "r": 161,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 252.11,
    "s": 88.618,
    "l": 75.882
  },
  "oklch": {
    "l": 0.70275,
    "c": 0.15629,
    "h": 291.1
  },
  "luminance": 0.3282
}

Semantic roles & 50–950 ramp

primary
#A18BF8
secondary
#EFF5D6
accent
#E500B7
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A18BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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