#A18EFB#A18EFB

#A18EFB is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.0% C 0.156 H 289.8°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#A18EFB
RGBrgb(161, 142, 251)
HSLhsl(250, 93%, 77%)
HSVhsv(250, 43%, 98%)
CMYKcmyk(35.9%, 43.4%, 0%, 1.6%)
CIE-LABlab(64.87, 31.58, -52.07)
CIE-LCHlch(64.87, 60.90, 301.24°)
OKLaboklab(70.97% 0.0529 -0.1466)
OKLCHoklch(70.97% 0.156 289.8)
XYZxyz(41.7789, 33.8870, 95.5877)
Luminance0.3389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18EFB #E8FB8E
analogous
#8EB2FB #A18EFB #D88EFB
triadic
#A18EFB #FBA18E #8EFBA1
tetradic
#A18EFB #FB8EB2 #E8FB8E #8EFBD8
square
#A18EFB #FB8EB2 #E8FB8E #8EFBD8
split-complementary
#A18EFB #FBD88E #B2FB8E
monochromatic
#3F18F7 #7053F9 #A18EFB #D2C9FD #E6E1FE

Accessibility & contrast

On white

2.70
#A18EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#A18EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18EFB
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18EFB#FFFFFF#000000##000000
##A18EFB1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#6A9BF8
Tritanopia (blue-blind)
#8AA3B8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a18efb;
/* rgb */ color: rgb(161, 142, 251);
/* oklch */ color: oklch(71.0% 0.156 289.8);
Tailwind
colors: {
  custom: {
    50: '#c0affd',
    500: '#a18efb',
    950: '#000000',
  },
}
SCSS
$custom: #a18efb;
$custom-light: #c0affd;
$custom-dark: #000000;
JSON
{
  "hex": "#a18efb",
  "rgb": {
    "r": 161,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 250.459,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.70974,
    "c": 0.15588,
    "h": 289.8
  },
  "luminance": 0.33888
}

Semantic roles & 50–950 ramp

primary
#A18EFB
secondary
#F0F6D5
accent
#E600BD
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A18EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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