#A18CF8#A18CF8

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

Color values

HEX#A18CF8
RGBrgb(161, 140, 248)
HSLhsl(252, 89%, 76%)
HSVhsv(252, 44%, 97%)
CMYKcmyk(35.1%, 43.5%, 0%, 2.7%)
CIE-LABlab(64.25, 31.93, -51.41)
CIE-LCHlch(64.25, 60.52, 301.85°)
OKLaboklab(70.45% 0.055 -0.1447)
OKLCHoklch(70.45% 0.155 290.8)
XYZxyz(41.0148, 33.1095, 93.0186)
Luminance0.3311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18CF8 #E3F88C
analogous
#8CADF8 #A18CF8 #D78CF8
triadic
#A18CF8 #F8A18C #8CF8A1
tetradic
#A18CF8 #F88CAD #E3F88C #8CF8D7
square
#A18CF8 #F88CAD #E3F88C #8CF8D7
split-complementary
#A18CF8 #F8D78C #ADF88C
monochromatic
#4319F1 #7252F4 #A18CF8 #D0C6FC #E7E2FD

Accessibility & contrast

On white

2.76
#A18CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#A18CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18CF8
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18CF8#FFFFFF#000000##000000
##A18CF81.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#689EFC
Deuteranopia (green-blind)
#6999F5
Tritanopia (blue-blind)
#8BA1B6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a18cf8;
/* rgb */ color: rgb(161, 140, 248);
/* oklch */ color: oklch(70.5% 0.155 290.8);
Tailwind
colors: {
  custom: {
    50: '#c0aefb',
    500: '#a18cf8',
    950: '#000000',
  },
}
SCSS
$custom: #a18cf8;
$custom-light: #c0aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#a18cf8",
  "rgb": {
    "r": 161,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 251.667,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.70454,
    "c": 0.15481,
    "h": 290.8
  },
  "luminance": 0.33111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A18CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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