#A18CFE#A18CFE

#A18CFE is a light, vivid violet. Relative luminance 0.335; OKLCH L 70.8% C 0.163 H 290.1°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#A18CFE
RGBrgb(161, 140, 254)
HSLhsl(251, 98%, 77%)
HSVhsv(251, 45%, 100%)
CMYKcmyk(36.6%, 44.9%, 0%, 0.4%)
CIE-LABlab(64.55, 33.50, -54.21)
CIE-LCHlch(64.55, 63.73, 301.71°)
OKLaboklab(70.78% 0.0559 -0.1529)
OKLCHoklch(70.78% 0.163 290.1)
XYZxyz(41.9606, 33.4879, 97.9997)
Luminance0.3349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18CFE #E9FE8C
analogous
#8CB0FE #A18CFE #DA8CFE
triadic
#A18CFE #FEA18C #8CFEA1
tetradic
#A18CFE #FE8CB0 #E9FE8C #8CFEDA
square
#A18CFE #FE8CB0 #E9FE8C #8CFEDA
split-complementary
#A18CFE #FEDA8C #B0FE8C
monochromatic
#3E13FD #6F4FFD #A18CFE #D3C9FF #E6E1FF

Accessibility & contrast

On white

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

On black

7.70
#A18CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18CFE
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18CFE#FFFFFF#000000##000000
##A18CFE1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#649FFF
Deuteranopia (green-blind)
#659AFB
Tritanopia (blue-blind)
#89A2B9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a18cfe;
/* rgb */ color: rgb(161, 140, 254);
/* oklch */ color: oklch(70.8% 0.163 290.1);
Tailwind
colors: {
  custom: {
    50: '#c0aeff',
    500: '#a18cfe',
    950: '#000000',
  },
}
SCSS
$custom: #a18cfe;
$custom-light: #c0aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#a18cfe",
  "rgb": {
    "r": 161,
    "g": 140,
    "b": 254
  },
  "hsl": {
    "h": 251.053,
    "s": 98.276,
    "l": 77.255
  },
  "oklch": {
    "l": 0.70783,
    "c": 0.16278,
    "h": 290.1
  },
  "luminance": 0.33489
}

Semantic roles & 50–950 ramp

primary
#A18CFE
secondary
#F1F7D4
accent
#E600BB
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A18CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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