#B2A7EE#B2A7EE

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

Color values

HEX#B2A7EE
RGBrgb(178, 167, 238)
HSLhsl(249, 68%, 79%)
HSVhsv(249, 30%, 93%)
CMYKcmyk(25.2%, 29.8%, 0%, 6.7%)
CIE-LABlab(71.74, 18.89, -34.11)
CIE-LCHlch(71.74, 38.99, 298.98°)
OKLaboklab(76.36% 0.0361 -0.0944)
OKLCHoklch(76.36% 0.101 290.9)
XYZxyz(47.6077, 43.2747, 86.7170)
Luminance0.4328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A7EE #E3EEA7
analogous
#A7C0EE #B2A7EE #D6A7EE
triadic
#B2A7EE #EEB2A7 #A7EEB2
tetradic
#B2A7EE #EEA7C0 #E3EEA7 #A7EED6
square
#B2A7EE #EEA7C0 #E3EEA7 #A7EED6
split-complementary
#B2A7EE #EED6A7 #C0EEA7
monochromatic
#5840DA #8574E4 #B2A7EE #DFDAF8 #E9E5FA

Accessibility & contrast

On white

2.18
#B2A7EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#B2A7EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A7EE
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A7EE#FFFFFF#000000##000000
##B2A7EE1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B1F1
Deuteranopia (green-blind)
#95AEEC
Tritanopia (blue-blind)
#A5B3C0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2a7ee;
/* rgb */ color: rgb(178, 167, 238);
/* oklch */ color: oklch(76.4% 0.101 290.9);
Tailwind
colors: {
  custom: {
    50: '#cac1f3',
    500: '#b2a7ee',
    950: '#000000',
  },
}
SCSS
$custom: #b2a7ee;
$custom-light: #cac1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a7ee",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 238
  },
  "hsl": {
    "h": 249.296,
    "s": 67.619,
    "l": 79.412
  },
  "oklch": {
    "l": 0.76364,
    "c": 0.10102,
    "h": 290.9
  },
  "luminance": 0.43275
}

Semantic roles & 50–950 ramp

primary
#B2A7EE
secondary
#EEF2D9
accent
#D016B3
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #B2A7EE

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

Preview Lab → · Contrast checker → · Palette generator →

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