#B2A8EA#B2A8EA

#B2A8EA is a light, moderate blue. Relative luminance 0.434; OKLCH L 76.4% C 0.094 H 290.9°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#B2A8EA
RGBrgb(178, 168, 234)
HSLhsl(249, 61%, 79%)
HSVhsv(249, 28%, 92%)
CMYKcmyk(23.9%, 28.2%, 0%, 8.2%)
CIE-LABlab(71.83, 17.39, -31.79)
CIE-LCHlch(71.83, 36.23, 298.68°)
OKLaboklab(76.38% 0.0336 -0.0877)
OKLCHoklch(76.38% 0.094 290.9)
XYZxyz(47.2104, 43.4101, 83.7176)
Luminance0.4341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A8EA #E0EAA8
analogous
#A8BFEA #B2A8EA #D3A8EA
triadic
#B2A8EA #EAB2A8 #A8EAB2
tetradic
#B2A8EA #EAA8BF #E0EAA8 #A8EAD3
square
#B2A8EA #EAA8BF #E0EAA8 #A8EAD3
split-complementary
#B2A8EA #EAD3A8 #BFEAA8
monochromatic
#5B45D2 #8677DE #B2A8EA #DED9F6 #E9E6F9

Accessibility & contrast

On white

2.17
#B2A8EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#B2A8EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A8EA
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A8EA#FFFFFF#000000##000000
##B2A8EA1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B1ED
Deuteranopia (green-blind)
#98AFE8
Tritanopia (blue-blind)
#A6B3BF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2a8ea;
/* rgb */ color: rgb(178, 168, 234);
/* oklch */ color: oklch(76.4% 0.094 290.9);
Tailwind
colors: {
  custom: {
    50: '#cac1f1',
    500: '#b2a8ea',
    950: '#000000',
  },
}
SCSS
$custom: #b2a8ea;
$custom-light: #cac1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a8ea",
  "rgb": {
    "r": 178,
    "g": 168,
    "b": 234
  },
  "hsl": {
    "h": 249.091,
    "s": 61.111,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76382,
    "c": 0.09396,
    "h": 290.9
  },
  "luminance": 0.43411
}

Semantic roles & 50–950 ramp

primary
#B2A8EA
secondary
#EDF0DB
accent
#C91DAF
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B2A8EA

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

Preview Lab → · Contrast checker → · Palette generator →

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