#A18FF2#A18FF2

#A18FF2 is a light, vivid violet. Relative luminance 0.336; OKLCH L 70.7% C 0.142 H 290.6°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#A18FF2
RGBrgb(161, 143, 242)
HSLhsl(251, 79%, 75%)
HSVhsv(251, 41%, 95%)
CMYKcmyk(33.5%, 40.9%, 0%, 5.1%)
CIE-LABlab(64.67, 28.67, -47.45)
CIE-LCHlch(64.67, 55.44, 301.14°)
OKLaboklab(70.68% 0.0502 -0.1332)
OKLCHoklch(70.68% 0.142 290.6)
XYZxyz(40.5432, 33.6319, 88.3427)
Luminance0.3363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18FF2 #E0F28F
analogous
#8FAEF2 #A18FF2 #D28FF2
triadic
#A18FF2 #F2A18F #8FF2A1
tetradic
#A18FF2 #F28FAE #E0F28F #8FF2D2
square
#A18FF2 #F28FAE #E0F28F #8FF2D2
split-complementary
#A18FF2 #F2D28F #AEF28F
monochromatic
#4521E5 #7358EC #A18FF2 #CFC6F8 #E8E4FC

Accessibility & contrast

On white

2.72
#A18FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#A18FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18FF2
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18FF2#FFFFFF#000000##000000
##A18FF21.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#719BF0
Tritanopia (blue-blind)
#8DA1B5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a18ff2;
/* rgb */ color: rgb(161, 143, 242);
/* oklch */ color: oklch(70.7% 0.142 290.6);
Tailwind
colors: {
  custom: {
    50: '#bfb0f7',
    500: '#a18ff2',
    950: '#000000',
  },
}
SCSS
$custom: #a18ff2;
$custom-light: #bfb0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a18ff2",
  "rgb": {
    "r": 161,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 250.909,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70675,
    "c": 0.14231,
    "h": 290.6
  },
  "luminance": 0.33633
}

Semantic roles & 50–950 ramp

primary
#A18FF2
secondary
#EEF4D7
accent
#DB0AB5
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#121017
muted
#817F85

Preview Lab

Preview with #A18FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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