#B8AEFD#B8AEFD

#B8AEFD is a light, moderate blue. Relative luminance 0.476; OKLCH L 78.8% C 0.111 H 289.4°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#B8AEFD
RGBrgb(184, 174, 253)
HSLhsl(248, 95%, 84%)
HSVhsv(248, 31%, 99%)
CMYKcmyk(27.3%, 31.2%, 0%, 0.8%)
CIE-LABlab(74.54, 20.31, -37.85)
CIE-LCHlch(74.54, 42.96, 298.22°)
OKLaboklab(78.83% 0.0369 -0.105)
OKLCHoklch(78.83% 0.111 289.4)
XYZxyz(52.6284, 47.5533, 99.3154)
Luminance0.4755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AEFD #F3FDAE
analogous
#AECBFD #B8AEFD #DFAEFD
triadic
#B8AEFD #FDB8AE #AEFDB8
tetradic
#B8AEFD #FDAECB #F3FDAE #AEFDDF
square
#B8AEFD #FDAECB #F3FDAE #AEFDDF
split-complementary
#B8AEFD #FDDFAE #CBFDAE
monochromatic
#4F37FA #8472FC #B8AEFD #E5E1FE #E5E1FE

Accessibility & contrast

On white

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

On black

10.51
#B8AEFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AEFD
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AEFD#FFFFFF#000000##000000
##B8AEFD1.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B9FF
Deuteranopia (green-blind)
#99B6FB
Tritanopia (blue-blind)
#A8BCCA
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b8aefd;
/* rgb */ color: rgb(184, 174, 253);
/* oklch */ color: oklch(78.8% 0.111 289.4);
Tailwind
colors: {
  custom: {
    50: '#cfc6fe',
    500: '#b8aefd',
    950: '#000000',
  },
}
SCSS
$custom: #b8aefd;
$custom-light: #cfc6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b8aefd",
  "rgb": {
    "r": 184,
    "g": 174,
    "b": 253
  },
  "hsl": {
    "h": 247.595,
    "s": 95.181,
    "l": 83.725
  },
  "oklch": {
    "l": 0.78834,
    "c": 0.11133,
    "h": 289.4
  },
  "luminance": 0.47554
}

Semantic roles & 50–950 ramp

primary
#B8AEFD
secondary
#F2F6D5
accent
#E600C8
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141318
muted
#828286

Preview Lab

Preview with #B8AEFD

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

Preview Lab → · Contrast checker → · Palette generator →

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