#A18EF3#A18EF3

#A18EF3 is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.5% C 0.145 H 290.8°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#A18EF3
RGBrgb(161, 142, 243)
HSLhsl(251, 81%, 75%)
HSVhsv(251, 42%, 95%)
CMYKcmyk(33.7%, 41.6%, 0%, 4.7%)
CIE-LABlab(64.48, 29.50, -48.30)
CIE-LCHlch(64.48, 56.60, 301.41°)
OKLaboklab(70.55% 0.0516 -0.1356)
OKLCHoklch(70.55% 0.145 290.8)
XYZxyz(40.5444, 33.3932, 89.0860)
Luminance0.3339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18EF3 #E0F38E
analogous
#8EADF3 #A18EF3 #D38EF3
triadic
#A18EF3 #F3A18E #8EF3A1
tetradic
#A18EF3 #F38EAD #E0F38E #8EF3D3
square
#A18EF3 #F38EAD #E0F38E #8EF3D3
split-complementary
#A18EF3 #F3D38E #ADF38E
monochromatic
#451FE7 #7357ED #A18EF3 #CFC5F9 #E8E3FC

Accessibility & contrast

On white

2.73
#A18EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#A18EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18EF3
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18EF3#FFFFFF#000000##000000
##A18EF31.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF7
Deuteranopia (green-blind)
#6F9AF1
Tritanopia (blue-blind)
#8DA1B5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a18ef3;
/* rgb */ color: rgb(161, 142, 243);
/* oklch */ color: oklch(70.5% 0.145 290.8);
Tailwind
colors: {
  custom: {
    50: '#bfaff7',
    500: '#a18ef3',
    950: '#000000',
  },
}
SCSS
$custom: #a18ef3;
$custom-light: #bfaff7;
$custom-dark: #000000;
JSON
{
  "hex": "#a18ef3",
  "rgb": {
    "r": 161,
    "g": 142,
    "b": 243
  },
  "hsl": {
    "h": 251.287,
    "s": 80.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70546,
    "c": 0.14515,
    "h": 290.8
  },
  "luminance": 0.33394
}

Semantic roles & 50–950 ramp

primary
#A18EF3
secondary
#EEF4D7
accent
#DD08B5
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #A18EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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