#B18AF9#B18AF9

#B18AF9 is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.6% C 0.160 H 298.5°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#B18AF9
RGBrgb(177, 138, 249)
HSLhsl(261, 90%, 76%)
HSVhsv(261, 45%, 98%)
CMYKcmyk(28.9%, 44.6%, 0%, 2.4%)
CIE-LABlab(65.25, 37.49, -50.29)
CIE-LCHlch(65.25, 62.73, 306.71°)
OKLaboklab(71.56% 0.0765 -0.141)
OKLCHoklch(71.56% 0.16 298.5)
XYZxyz(44.3148, 34.3632, 93.9022)
Luminance0.3436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18AF9 #D2F98A
analogous
#8A9AF9 #B18AF9 #E88AF9
triadic
#B18AF9 #F9B18A #8AF9B1
tetradic
#B18AF9 #F98A9A #D2F98A #8AF9E8
square
#B18AF9 #F98A9A #D2F98A #8AF9E8
split-complementary
#B18AF9 #F9E88A #9AF98A
monochromatic
#6316F3 #8A50F6 #B18AF9 #D8C4FC #ECE2FE

Accessibility & contrast

On white

2.67
#B18AF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#B18AF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18AF9
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18AF9#FFFFFF#000000##000000
##B18AF91.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFD
Deuteranopia (green-blind)
#719DF6
Tritanopia (blue-blind)
#A29EB6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b18af9;
/* rgb */ color: rgb(177, 138, 249);
/* oklch */ color: oklch(71.6% 0.160 298.5);
Tailwind
colors: {
  custom: {
    50: '#cbadfc',
    500: '#b18af9',
    950: '#000000',
  },
}
SCSS
$custom: #b18af9;
$custom-light: #cbadfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b18af9",
  "rgb": {
    "r": 177,
    "g": 138,
    "b": 249
  },
  "hsl": {
    "h": 261.081,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71562,
    "c": 0.16046,
    "h": 298.5
  },
  "luminance": 0.34364
}

Semantic roles & 50–950 ramp

primary
#B18AF9
secondary
#EAF6D5
accent
#E60095
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #B18AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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