#B8AEFE#B8AEFE

#B8AEFE is a light, moderate blue. Relative luminance 0.476; OKLCH L 78.9% C 0.113 H 289.3°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#B8AEFE
RGBrgb(184, 174, 254)
HSLhsl(248, 98%, 84%)
HSVhsv(248, 31%, 100%)
CMYKcmyk(27.6%, 31.5%, 0%, 0.4%)
CIE-LABlab(74.58, 20.55, -38.33)
CIE-LCHlch(74.58, 43.49, 298.20°)
OKLaboklab(78.88% 0.0372 -0.1064)
OKLCHoklch(78.88% 0.113 289.3)
XYZxyz(52.7881, 47.6172, 100.1566)
Luminance0.4762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AEFE #F4FEAE
analogous
#AECCFE #B8AEFE #E0AEFE
triadic
#B8AEFE #FEB8AE #AEFEB8
tetradic
#B8AEFE #FEAECC #F4FEAE #AEFEE0
square
#B8AEFE #FEAECC #F4FEAE #AEFEE0
split-complementary
#B8AEFE #FEE0AE #CCFEAE
monochromatic
#4E35FD #8372FD #B8AEFE #E5E1FF #E5E1FF

Accessibility & contrast

On white

2.00
#B8AEFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#B8AEFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AEFE
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AEFE#FFFFFF#000000##000000
##B8AEFE1.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B9FF
Deuteranopia (green-blind)
#98B6FC
Tritanopia (blue-blind)
#A8BCCB
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b8aefe;
/* rgb */ color: rgb(184, 174, 254);
/* oklch */ color: oklch(78.9% 0.113 289.3);
Tailwind
colors: {
  custom: {
    50: '#cfc6ff',
    500: '#b8aefe',
    950: '#000000',
  },
}
SCSS
$custom: #b8aefe;
$custom-light: #cfc6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b8aefe",
  "rgb": {
    "r": 184,
    "g": 174,
    "b": 254
  },
  "hsl": {
    "h": 247.5,
    "s": 97.561,
    "l": 83.922
  },
  "oklch": {
    "l": 0.78878,
    "c": 0.11271,
    "h": 289.3
  },
  "luminance": 0.47618
}

Semantic roles & 50–950 ramp

primary
#B8AEFE
secondary
#F3F7D4
accent
#E600C9
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141318
muted
#828286

Preview Lab

Preview with #B8AEFE

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

Preview Lab → · Contrast checker → · Palette generator →

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