#A18DF2#A18DF2

#A18DF2 is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.3% C 0.145 H 291.3°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#A18DF2
RGBrgb(161, 141, 242)
HSLhsl(252, 80%, 75%)
HSVhsv(252, 42%, 95%)
CMYKcmyk(33.5%, 41.7%, 0%, 5.1%)
CIE-LABlab(64.19, 29.81, -48.21)
CIE-LCHlch(64.19, 56.68, 301.73°)
OKLaboklab(70.31% 0.0528 -0.1354)
OKLCHoklch(70.31% 0.145 291.3)
XYZxyz(40.2457, 33.0367, 88.2435)
Luminance0.3304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18DF2 #DEF28D
analogous
#8DACF2 #A18DF2 #D38DF2
triadic
#A18DF2 #F2A18D #8DF2A1
tetradic
#A18DF2 #F28DAC #DEF28D #8DF2D3
square
#A18DF2 #F28DAC #DEF28D #8DF2D3
split-complementary
#A18DF2 #F2D38D #ACF28D
monochromatic
#461FE5 #7456EC #A18DF2 #CEC4F8 #E8E4FC

Accessibility & contrast

On white

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

On black

7.61
#A18DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18DF2
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18DF2#FFFFFF#000000##000000
##A18DF21.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9DF6
Deuteranopia (green-blind)
#6F9AF0
Tritanopia (blue-blind)
#8DA0B4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a18df2;
/* rgb */ color: rgb(161, 141, 242);
/* oklch */ color: oklch(70.3% 0.145 291.3);
Tailwind
colors: {
  custom: {
    50: '#bfaef7',
    500: '#a18df2',
    950: '#000000',
  },
}
SCSS
$custom: #a18df2;
$custom-light: #bfaef7;
$custom-dark: #000000;
JSON
{
  "hex": "#a18df2",
  "rgb": {
    "r": 161,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 251.881,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70312,
    "c": 0.1453,
    "h": 291.3
  },
  "luminance": 0.33038
}

Semantic roles & 50–950 ramp

primary
#A18DF2
secondary
#EEF4D7
accent
#DC0AB2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #A18DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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