#B2A7EA#B2A7EA

#B2A7EA is a light, moderate blue. Relative luminance 0.430; OKLCH L 76.2% C 0.095 H 291.5°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#B2A7EA
RGBrgb(178, 167, 234)
HSLhsl(250, 61%, 79%)
HSVhsv(250, 29%, 92%)
CMYKcmyk(23.9%, 28.6%, 0%, 8.2%)
CIE-LABlab(71.58, 17.95, -32.17)
CIE-LCHlch(71.58, 36.84, 299.15°)
OKLaboklab(76.19% 0.035 -0.0888)
OKLCHoklch(76.19% 0.095 291.5)
XYZxyz(47.0265, 43.0423, 83.6563)
Luminance0.4304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A7EA #DFEAA7
analogous
#A7BDEA #B2A7EA #D3A7EA
triadic
#B2A7EA #EAB2A7 #A7EAB2
tetradic
#B2A7EA #EAA7BD #DFEAA7 #A7EAD3
square
#B2A7EA #EAA7BD #DFEAA7 #A7EAD3
split-complementary
#B2A7EA #EAD3A7 #BDEAA7
monochromatic
#5C44D2 #8776DE #B2A7EA #DDD8F6 #E9E6F9

Accessibility & contrast

On white

2.19
#B2A7EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#B2A7EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A7EA
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A7EA#FFFFFF#000000##000000
##B2A7EA1.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B0ED
Deuteranopia (green-blind)
#97AEE8
Tritanopia (blue-blind)
#A6B2BF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2a7ea;
/* rgb */ color: rgb(178, 167, 234);
/* oklch */ color: oklch(76.2% 0.095 291.5);
Tailwind
colors: {
  custom: {
    50: '#cac1f1',
    500: '#b2a7ea',
    950: '#000000',
  },
}
SCSS
$custom: #b2a7ea;
$custom-light: #cac1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a7ea",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 234
  },
  "hsl": {
    "h": 249.851,
    "s": 61.468,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76191,
    "c": 0.09548,
    "h": 291.5
  },
  "luminance": 0.43043
}

Semantic roles & 50–950 ramp

primary
#B2A7EA
secondary
#EDF0DB
accent
#C91CAD
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B2A7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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