#A18EF7#A18EF7

#A18EF7 is a light, vivid violet. Relative luminance 0.336; OKLCH L 70.8% C 0.151 H 290.3°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#A18EF7
RGBrgb(161, 142, 247)
HSLhsl(251, 87%, 76%)
HSVhsv(251, 43%, 97%)
CMYKcmyk(34.8%, 42.5%, 0%, 3.1%)
CIE-LABlab(64.67, 30.54, -50.19)
CIE-LCHlch(64.67, 58.75, 301.32°)
OKLaboklab(70.76% 0.0523 -0.1411)
OKLCHoklch(70.76% 0.151 290.3)
XYZxyz(41.1550, 33.6374, 92.3020)
Luminance0.3364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18EF7 #E4F78E
analogous
#8EB0F7 #A18EF7 #D68EF7
triadic
#A18EF7 #F7A18E #8EF7A1
tetradic
#A18EF7 #F78EB0 #E4F78E #8EF7D6
square
#A18EF7 #F78EB0 #E4F78E #8EF7D6
split-complementary
#A18EF7 #F7D68E #B0F78E
monochromatic
#421CEF #7155F3 #A18EF7 #D1C7FB #E7E2FD

Accessibility & contrast

On white

2.72
#A18EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#A18EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18EF7
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18EF7#FFFFFF#000000##000000
##A18EF71.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9FFB
Deuteranopia (green-blind)
#6D9BF4
Tritanopia (blue-blind)
#8CA2B7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a18ef7;
/* rgb */ color: rgb(161, 142, 247);
/* oklch */ color: oklch(70.8% 0.151 290.3);
Tailwind
colors: {
  custom: {
    50: '#c0affa',
    500: '#a18ef7',
    950: '#000000',
  },
}
SCSS
$custom: #a18ef7;
$custom-light: #c0affa;
$custom-dark: #000000;
JSON
{
  "hex": "#a18ef7",
  "rgb": {
    "r": 161,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 250.857,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.70758,
    "c": 0.15052,
    "h": 290.3
  },
  "luminance": 0.33638
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A18EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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