#A18BF7#A18BF7

#A18BF7 is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.2% C 0.155 H 291.2°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#A18BF7
RGBrgb(161, 139, 247)
HSLhsl(252, 87%, 76%)
HSVhsv(252, 44%, 97%)
CMYKcmyk(34.8%, 43.7%, 0%, 3.1%)
CIE-LABlab(63.96, 32.24, -51.32)
CIE-LCHlch(63.96, 60.60, 302.14°)
OKLaboklab(70.22% 0.0562 -0.1444)
OKLCHoklch(70.22% 0.155 291.2)
XYZxyz(40.7146, 32.7567, 92.1552)
Luminance0.3276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18BF7 #E1F78B
analogous
#8BABF7 #A18BF7 #D78BF7
triadic
#A18BF7 #F7A18B #8BF7A1
tetradic
#A18BF7 #F78BAB #E1F78B #8BF7D7
square
#A18BF7 #F78BAB #E1F78B #8BF7D7
split-complementary
#A18BF7 #F7D78B #ABF78B
monochromatic
#4418EF #7352F3 #A18BF7 #CFC4FB #E8E2FD

Accessibility & contrast

On white

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

On black

7.55
#A18BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18BF7
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18BF7#FFFFFF#000000##000000
##A18BF71.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFB
Deuteranopia (green-blind)
#6999F4
Tritanopia (blue-blind)
#8CA0B5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a18bf7;
/* rgb */ color: rgb(161, 139, 247);
/* oklch */ color: oklch(70.2% 0.155 291.2);
Tailwind
colors: {
  custom: {
    50: '#c0adfa',
    500: '#a18bf7',
    950: '#000000',
  },
}
SCSS
$custom: #a18bf7;
$custom-light: #c0adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a18bf7",
  "rgb": {
    "r": 161,
    "g": 139,
    "b": 247
  },
  "hsl": {
    "h": 252.222,
    "s": 87.097,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70221,
    "c": 0.15496,
    "h": 291.2
  },
  "luminance": 0.32758
}

Semantic roles & 50–950 ramp

primary
#A18BF7
secondary
#EFF5D6
accent
#E402B6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #A18BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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