#B2A7EF#B2A7EF

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

Color values

HEX#B2A7EF
RGBrgb(178, 167, 239)
HSLhsl(249, 69%, 80%)
HSVhsv(249, 30%, 94%)
CMYKcmyk(25.5%, 30.1%, 0%, 6.3%)
CIE-LABlab(71.78, 19.13, -34.59)
CIE-LCHlch(71.78, 39.53, 298.94°)
OKLaboklab(76.41% 0.0363 -0.0957)
OKLCHoklch(76.41% 0.102 290.8)
XYZxyz(47.7550, 43.3336, 87.4929)
Luminance0.4333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A7EF #E4EFA7
analogous
#A7C0EF #B2A7EF #D6A7EF
triadic
#B2A7EF #EFB2A7 #A7EFB2
tetradic
#B2A7EF #EFA7C0 #E4EFA7 #A7EFD6
square
#B2A7EF #EFA7C0 #E4EFA7 #A7EFD6
split-complementary
#B2A7EF #EFD6A7 #C0EFA7
monochromatic
#573FDC #8573E6 #B2A7EF #DFDBF8 #E8E5FA

Accessibility & contrast

On white

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

On black

9.67
#B2A7EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A7EF
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A7EF#FFFFFF#000000##000000
##B2A7EF1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B1F2
Deuteranopia (green-blind)
#95AEED
Tritanopia (blue-blind)
#A5B3C1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2a7ef;
/* rgb */ color: rgb(178, 167, 239);
/* oklch */ color: oklch(76.4% 0.102 290.8);
Tailwind
colors: {
  custom: {
    50: '#cac1f4',
    500: '#b2a7ef',
    950: '#000000',
  },
}
SCSS
$custom: #b2a7ef;
$custom-light: #cac1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a7ef",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 239
  },
  "hsl": {
    "h": 249.167,
    "s": 69.231,
    "l": 79.608
  },
  "oklch": {
    "l": 0.76408,
    "c": 0.1024,
    "h": 290.8
  },
  "luminance": 0.43334
}

Semantic roles & 50–950 ramp

primary
#B2A7EF
secondary
#EEF2D9
accent
#D114B4
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #B2A7EF

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

Preview Lab → · Contrast checker → · Palette generator →

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