#B2A7FA#B2A7FA

#B2A7FA is a light, moderate blue. Relative luminance 0.440; OKLCH L 76.9% C 0.118 H 289.4°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#B2A7FA
RGBrgb(178, 167, 250)
HSLhsl(248, 89%, 82%)
HSVhsv(248, 33%, 98%)
CMYKcmyk(28.8%, 33.2%, 0%, 2%)
CIE-LABlab(72.23, 21.78, -39.86)
CIE-LCHlch(72.23, 45.43, 298.65°)
OKLaboklab(76.9% 0.0391 -0.1109)
OKLCHoklch(76.9% 0.118 289.4)
XYZxyz(49.4297, 44.0035, 96.3132)
Luminance0.4400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A7FA #EFFAA7
analogous
#A7C6FA #B2A7FA #DCA7FA
triadic
#B2A7FA #FAB2A7 #A7FAB2
tetradic
#B2A7FA #FAA7C6 #EFFAA7 #A7FADC
square
#B2A7FA #FAA7C6 #EFFAA7 #A7FADC
split-complementary
#B2A7FA #FADCA7 #C6FAA7
monochromatic
#4D33F3 #7F6DF7 #B2A7FA #E5E1FD #E6E2FD

Accessibility & contrast

On white

2.14
#B2A7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#B2A7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A7FA
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A7FA#FFFFFF#000000##000000
##B2A7FA1.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B3FD
Deuteranopia (green-blind)
#90AFF8
Tritanopia (blue-blind)
#A1B6C5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b2a7fa;
/* rgb */ color: rgb(178, 167, 250);
/* oklch */ color: oklch(76.9% 0.118 289.4);
Tailwind
colors: {
  custom: {
    50: '#cbc1fc',
    500: '#b2a7fa',
    950: '#000000',
  },
}
SCSS
$custom: #b2a7fa;
$custom-light: #cbc1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a7fa",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 250
  },
  "hsl": {
    "h": 247.952,
    "s": 89.247,
    "l": 81.765
  },
  "oklch": {
    "l": 0.76902,
    "c": 0.11757,
    "h": 289.4
  },
  "luminance": 0.44005
}

Semantic roles & 50–950 ramp

primary
#B2A7FA
secondary
#F1F5D6
accent
#E600C7
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #B2A7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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