#A18CF1#A18CF1

#A18CF1 is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.1% C 0.145 H 291.8°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#A18CF1
RGBrgb(161, 140, 241)
HSLhsl(252, 78%, 75%)
HSVhsv(252, 42%, 95%)
CMYKcmyk(33.2%, 41.9%, 0%, 5.5%)
CIE-LABlab(63.90, 30.12, -48.11)
CIE-LCHlch(63.90, 56.76, 302.05°)
OKLaboklab(70.08% 0.0539 -0.1351)
OKLCHoklch(70.08% 0.145 291.8)
XYZxyz(39.9491, 32.6833, 87.4058)
Luminance0.3268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18CF1 #DCF18C
analogous
#8CAAF1 #A18CF1 #D38CF1
triadic
#A18CF1 #F1A18C #8CF1A1
tetradic
#A18CF1 #F18CAA #DCF18C #8CF1D3
square
#A18CF1 #F18CAA #DCF18C #8CF1D3
split-complementary
#A18CF1 #F1D38C #AAF18C
monochromatic
#481FE4 #7455EA #A18CF1 #CEC3F8 #E9E4FC

Accessibility & contrast

On white

2.79
#A18CF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#A18CF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18CF1
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18CF1#FFFFFF#000000##000000
##A18CF11.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9CF5
Deuteranopia (green-blind)
#6E99EF
Tritanopia (blue-blind)
#8E9FB3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a18cf1;
/* rgb */ color: rgb(161, 140, 241);
/* oklch */ color: oklch(70.1% 0.145 291.8);
Tailwind
colors: {
  custom: {
    50: '#bfadf6',
    500: '#a18cf1',
    950: '#000000',
  },
}
SCSS
$custom: #a18cf1;
$custom-light: #bfadf6;
$custom-dark: #000000;
JSON
{
  "hex": "#a18cf1",
  "rgb": {
    "r": 161,
    "g": 140,
    "b": 241
  },
  "hsl": {
    "h": 252.475,
    "s": 78.295,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70079,
    "c": 0.14545,
    "h": 291.8
  },
  "luminance": 0.32684
}

Semantic roles & 50–950 ramp

primary
#A18CF1
secondary
#EEF3D8
accent
#DB0BAF
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#121017
muted
#817F85

Preview Lab

Preview with #A18CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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