#B8AEF7#B8AEF7

#B8AEF7 is a light, moderate blue. Relative luminance 0.472; OKLCH L 78.6% C 0.103 H 290.1°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#B8AEF7
RGBrgb(184, 174, 247)
HSLhsl(248, 82%, 83%)
HSVhsv(248, 30%, 97%)
CMYKcmyk(25.5%, 29.6%, 0%, 3.1%)
CIE-LABlab(74.30, 18.88, -34.99)
CIE-LCHlch(74.30, 39.76, 298.36°)
OKLaboklab(78.57% 0.0354 -0.0968)
OKLCHoklch(78.57% 0.103 290.1)
XYZxyz(51.6876, 47.1770, 94.3605)
Luminance0.4718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AEF7 #EDF7AE
analogous
#AEC9F7 #B8AEF7 #DCAEF7
triadic
#B8AEF7 #F7B8AE #AEF7B8
tetradic
#B8AEF7 #F7AEC9 #EDF7AE #AEF7DC
square
#B8AEF7 #F7AEC9 #EDF7AE #AEF7DC
split-complementary
#B8AEF7 #F7DCAE #C9F7AE
monochromatic
#563FEC #8776F1 #B8AEF7 #E7E3FC #E7E3FC

Accessibility & contrast

On white

2.01
#B8AEF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#B8AEF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AEF7
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AEF7#FFFFFF#000000##000000
##B8AEF71.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB8FA
Deuteranopia (green-blind)
#9BB5F5
Tritanopia (blue-blind)
#AABAC8
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b8aef7;
/* rgb */ color: rgb(184, 174, 247);
/* oklch */ color: oklch(78.6% 0.103 290.1);
Tailwind
colors: {
  custom: {
    50: '#cec6fa',
    500: '#b8aef7',
    950: '#000000',
  },
}
SCSS
$custom: #b8aef7;
$custom-light: #cec6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b8aef7",
  "rgb": {
    "r": 184,
    "g": 174,
    "b": 247
  },
  "hsl": {
    "h": 248.219,
    "s": 82.022,
    "l": 82.549
  },
  "oklch": {
    "l": 0.7857,
    "c": 0.10307,
    "h": 290.1
  },
  "luminance": 0.47178
}

Semantic roles & 50–950 ramp

primary
#B8AEF7
secondary
#F0F4D7
accent
#DE07C1
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141317
muted
#828285

Preview Lab

Preview with #B8AEF7

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

Preview Lab → · Contrast checker → · Palette generator →

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