#B8AAFE#B8AAFE

#B8AAFE is a light, moderate violet. Relative luminance 0.461; OKLCH L 78.1% C 0.119 H 291.0°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#B8AAFE
RGBrgb(184, 170, 254)
HSLhsl(250, 98%, 83%)
HSVhsv(250, 33%, 100%)
CMYKcmyk(27.6%, 33.1%, 0%, 0.4%)
CIE-LABlab(73.61, 22.77, -39.85)
CIE-LCHlch(73.61, 45.90, 299.75°)
OKLaboklab(78.13% 0.0426 -0.1107)
OKLCHoklch(78.13% 0.119 291)
XYZxyz(52.0268, 46.0947, 99.9028)
Luminance0.4610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AAFE #F0FEAA
analogous
#AAC6FE #B8AAFE #E2AAFE
triadic
#B8AAFE #FEB8AA #AAFEB8
tetradic
#B8AAFE #FEAAC6 #F0FEAA #AAFEE2
square
#B8AAFE #FEAAC6 #F0FEAA #AAFEE2
split-complementary
#B8AAFE #FEE2AA #C6FEAA
monochromatic
#5331FD #856EFD #B8AAFE #E6E1FF #E6E1FF

Accessibility & contrast

On white

2.05
#B8AAFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#B8AAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AAFE
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AAFE#FFFFFF#000000##000000
##B8AAFE1.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B6FF
Deuteranopia (green-blind)
#94B3FC
Tritanopia (blue-blind)
#A8B9C9
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b8aafe;
/* rgb */ color: rgb(184, 170, 254);
/* oklch */ color: oklch(78.1% 0.119 291.0);
Tailwind
colors: {
  custom: {
    50: '#cfc3ff',
    500: '#b8aafe',
    950: '#000000',
  },
}
SCSS
$custom: #b8aafe;
$custom-light: #cfc3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b8aafe",
  "rgb": {
    "r": 184,
    "g": 170,
    "b": 254
  },
  "hsl": {
    "h": 250,
    "s": 97.674,
    "l": 83.137
  },
  "oklch": {
    "l": 0.78129,
    "c": 0.11865,
    "h": 291
  },
  "luminance": 0.46096
}

Semantic roles & 50–950 ramp

primary
#B8AAFE
secondary
#F1F7D4
accent
#E600BF
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141218
muted
#828186

Preview Lab

Preview with #B8AAFE

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

Preview Lab → · Contrast checker → · Palette generator →

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