#B8AAFA#B8AAFA

#B8AAFA is a light, moderate violet. Relative luminance 0.458; OKLCH L 77.9% C 0.113 H 291.6°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#B8AAFA
RGBrgb(184, 170, 250)
HSLhsl(251, 89%, 82%)
HSVhsv(251, 32%, 98%)
CMYKcmyk(26.4%, 32%, 0%, 2%)
CIE-LABlab(73.44, 21.81, -37.94)
CIE-LCHlch(73.44, 43.77, 299.90°)
OKLaboklab(77.95% 0.0416 -0.1053)
OKLCHoklch(77.95% 0.113 291.6)
XYZxyz(51.3930, 45.8411, 96.5645)
Luminance0.4584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AAFA #ECFAAA
analogous
#AAC4FA #B8AAFA #E0AAFA
triadic
#B8AAFA #FAB8AA #AAFAB8
tetradic
#B8AAFA #FAAAC4 #ECFAAA #AAFAE0
square
#B8AAFA #FAAAC4 #ECFAAA #AAFAE0
split-complementary
#B8AAFA #FAE0AA #C4FAAA
monochromatic
#5736F3 #8870F7 #B8AAFA #E7E2FD #E7E2FD

Accessibility & contrast

On white

2.07
#B8AAFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#B8AAFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AAFA
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AAFA#FFFFFF#000000##000000
##B8AAFA1.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B6FD
Deuteranopia (green-blind)
#96B3F8
Tritanopia (blue-blind)
#AAB8C7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b8aafa;
/* rgb */ color: rgb(184, 170, 250);
/* oklch */ color: oklch(77.9% 0.113 291.6);
Tailwind
colors: {
  custom: {
    50: '#cec3fc',
    500: '#b8aafa',
    950: '#000000',
  },
}
SCSS
$custom: #b8aafa;
$custom-light: #cec3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b8aafa",
  "rgb": {
    "r": 184,
    "g": 170,
    "b": 250
  },
  "hsl": {
    "h": 250.5,
    "s": 88.889,
    "l": 82.353
  },
  "oklch": {
    "l": 0.77948,
    "c": 0.11319,
    "h": 291.6
  },
  "luminance": 0.45842
}

Semantic roles & 50–950 ramp

primary
#B8AAFA
secondary
#F0F5D6
accent
#E600BD
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B8AAFA

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

Preview Lab → · Contrast checker → · Palette generator →

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