#A18BF2#A18BF2

#A18BF2 is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.0% C 0.148 H 291.9°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#A18BF2
RGBrgb(161, 139, 242)
HSLhsl(253, 80%, 75%)
HSVhsv(253, 43%, 95%)
CMYKcmyk(33.5%, 42.6%, 0%, 5.1%)
CIE-LABlab(63.72, 30.95, -48.96)
CIE-LCHlch(63.72, 57.92, 302.30°)
OKLaboklab(69.95% 0.0554 -0.1376)
OKLCHoklch(69.95% 0.148 291.9)
XYZxyz(39.9534, 32.4523, 88.1461)
Luminance0.3245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18BF2 #DCF28B
analogous
#8BA8F2 #A18BF2 #D58BF2
triadic
#A18BF2 #F2A18B #8BF2A1
tetradic
#A18BF2 #F28BA8 #DCF28B #8BF2D5
square
#A18BF2 #F28BA8 #DCF28B #8BF2D5
split-complementary
#A18BF2 #F2D58B #A8F28B
monochromatic
#481DE6 #7454EC #A18BF2 #CEC2F8 #E9E3FC

Accessibility & contrast

On white

2.80
#A18BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#A18BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18BF2
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18BF2#FFFFFF#000000##000000
##A18BF21.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9CF6
Deuteranopia (green-blind)
#6C98EF
Tritanopia (blue-blind)
#8E9EB3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a18bf2;
/* rgb */ color: rgb(161, 139, 242);
/* oklch */ color: oklch(70.0% 0.148 291.9);
Tailwind
colors: {
  custom: {
    50: '#c0adf7',
    500: '#a18bf2',
    950: '#000000',
  },
}
SCSS
$custom: #a18bf2;
$custom-light: #c0adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#a18bf2",
  "rgb": {
    "r": 161,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 252.816,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.69952,
    "c": 0.1483,
    "h": 291.9
  },
  "luminance": 0.32453
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A18BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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