#B2A8EB#B2A8EB

#B2A8EB is a light, moderate blue. Relative luminance 0.435; OKLCH L 76.4% C 0.095 H 290.8°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#B2A8EB
RGBrgb(178, 168, 235)
HSLhsl(249, 63%, 79%)
HSVhsv(249, 29%, 92%)
CMYKcmyk(24.3%, 28.5%, 0%, 7.8%)
CIE-LABlab(71.87, 17.62, -32.27)
CIE-LCHlch(71.87, 36.77, 298.64°)
OKLaboklab(76.43% 0.0339 -0.0891)
OKLCHoklch(76.43% 0.095 290.8)
XYZxyz(47.3545, 43.4677, 84.4764)
Luminance0.4347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A8EB #E1EBA8
analogous
#A8C0EB #B2A8EB #D4A8EB
triadic
#B2A8EB #EBB2A8 #A8EBB2
tetradic
#B2A8EB #EBA8C0 #E1EBA8 #A8EBD4
square
#B2A8EB #EBA8C0 #E1EBA8 #A8EBD4
split-complementary
#B2A8EB #EBD4A8 #C0EBA8
monochromatic
#5A44D4 #8676E0 #B2A8EB #DEDAF6 #E9E6F9

Accessibility & contrast

On white

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

On black

9.69
#B2A8EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A8EB
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A8EB#FFFFFF#000000##000000
##B2A8EB1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B1EE
Deuteranopia (green-blind)
#97AFE9
Tritanopia (blue-blind)
#A6B3C0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2a8eb;
/* rgb */ color: rgb(178, 168, 235);
/* oklch */ color: oklch(76.4% 0.095 290.8);
Tailwind
colors: {
  custom: {
    50: '#cac1f1',
    500: '#b2a8eb',
    950: '#000000',
  },
}
SCSS
$custom: #b2a8eb;
$custom-light: #cac1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a8eb",
  "rgb": {
    "r": 178,
    "g": 168,
    "b": 235
  },
  "hsl": {
    "h": 248.955,
    "s": 62.617,
    "l": 79.02
  },
  "oklch": {
    "l": 0.76425,
    "c": 0.09534,
    "h": 290.8
  },
  "luminance": 0.43468
}

Semantic roles & 50–950 ramp

primary
#B2A8EB
secondary
#EDF1DA
accent
#CA1BB0
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #B2A8EB

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

Preview Lab → · Contrast checker → · Palette generator →

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