#B8AAFB#B8AAFB

#B8AAFB is a light, moderate violet. Relative luminance 0.459; OKLCH L 78.0% C 0.115 H 291.4°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#B8AAFB
RGBrgb(184, 170, 251)
HSLhsl(250, 91%, 83%)
HSVhsv(250, 32%, 98%)
CMYKcmyk(26.7%, 32.3%, 0%, 1.6%)
CIE-LABlab(73.48, 22.05, -38.42)
CIE-LCHlch(73.48, 44.30, 299.86°)
OKLaboklab(77.99% 0.0419 -0.1066)
OKLCHoklch(77.99% 0.115 291.4)
XYZxyz(51.5502, 45.9040, 97.3925)
Luminance0.4591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AAFB #EDFBAA
analogous
#AAC5FB #B8AAFB #E0AAFB
triadic
#B8AAFB #FBB8AA #AAFBB8
tetradic
#B8AAFB #FBAAC5 #EDFBAA #AAFBE0
square
#B8AAFB #FBAAC5 #EDFBAA #AAFBE0
split-complementary
#B8AAFB #FBE0AA #C5FBAA
monochromatic
#5635F5 #8770F8 #B8AAFB #E7E2FE #E7E2FE

Accessibility & contrast

On white

2.06
#B8AAFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#B8AAFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AAFB
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AAFB#FFFFFF#000000##000000
##B8AAFB1.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B6FE
Deuteranopia (green-blind)
#95B3F9
Tritanopia (blue-blind)
#A9B8C7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b8aafb;
/* rgb */ color: rgb(184, 170, 251);
/* oklch */ color: oklch(78.0% 0.115 291.4);
Tailwind
colors: {
  custom: {
    50: '#cfc3fd',
    500: '#b8aafb',
    950: '#000000',
  },
}
SCSS
$custom: #b8aafb;
$custom-light: #cfc3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b8aafb",
  "rgb": {
    "r": 184,
    "g": 170,
    "b": 251
  },
  "hsl": {
    "h": 250.37,
    "s": 91.011,
    "l": 82.549
  },
  "oklch": {
    "l": 0.77993,
    "c": 0.11456,
    "h": 291.4
  },
  "luminance": 0.45905
}

Semantic roles & 50–950 ramp

primary
#B8AAFB
secondary
#F0F6D5
accent
#E600BE
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B8AAFB

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

Preview Lab → · Contrast checker → · Palette generator →

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