#A18BFB#A18BFB

#A18BFB is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.4% C 0.160 H 290.7°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#A18BFB
RGBrgb(161, 139, 251)
HSLhsl(252, 93%, 76%)
HSVhsv(252, 45%, 98%)
CMYKcmyk(35.9%, 44.6%, 0%, 1.6%)
CIE-LABlab(64.17, 33.28, -53.19)
CIE-LCHlch(64.17, 62.74, 302.04°)
OKLaboklab(70.44% 0.0567 -0.1499)
OKLCHoklch(70.44% 0.16 290.7)
XYZxyz(41.3385, 33.0063, 95.4409)
Luminance0.3301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18BFB #E5FB8B
analogous
#8BADFB #A18BFB #D98BFB
triadic
#A18BFB #FBA18B #8BFBA1
tetradic
#A18BFB #FB8BAD #E5FB8B #8BFBD9
square
#A18BFB #FB8BAD #E5FB8B #8BFBD9
split-complementary
#A18BFB #FBD98B #ADFB8B
monochromatic
#4115F7 #7150F9 #A18BFB #D1C6FD #E7E1FE

Accessibility & contrast

On white

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

On black

7.60
#A18BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A18BFB
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18BFB#FFFFFF#000000##000000
##A18BFB1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#649DFF
Deuteranopia (green-blind)
#6699F8
Tritanopia (blue-blind)
#8AA1B7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a18bfb;
/* rgb */ color: rgb(161, 139, 251);
/* oklch */ color: oklch(70.4% 0.160 290.7);
Tailwind
colors: {
  custom: {
    50: '#c0adfd',
    500: '#a18bfb',
    950: '#000000',
  },
}
SCSS
$custom: #a18bfb;
$custom-light: #c0adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a18bfb",
  "rgb": {
    "r": 161,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 251.786,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7044,
    "c": 0.16027,
    "h": 290.7
  },
  "luminance": 0.33007
}

Semantic roles & 50–950 ramp

primary
#A18BFB
secondary
#F0F6D5
accent
#E600B8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A18BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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