#B2A8FA#B2A8FA

#B2A8FA is a light, moderate blue. Relative luminance 0.444; OKLCH L 77.1% C 0.116 H 289.0°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#B2A8FA
RGBrgb(178, 168, 250)
HSLhsl(247, 89%, 82%)
HSVhsv(247, 33%, 98%)
CMYKcmyk(28.8%, 32.8%, 0%, 2%)
CIE-LABlab(72.48, 21.22, -39.48)
CIE-LCHlch(72.48, 44.83, 298.26°)
OKLaboklab(77.09% 0.0377 -0.1098)
OKLCHoklch(77.09% 0.116 289)
XYZxyz(49.6136, 44.3714, 96.3745)
Luminance0.4437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A8FA #F0FAA8
analogous
#A8C7FA #B2A8FA #DBA8FA
triadic
#B2A8FA #FAB2A8 #A8FAB2
tetradic
#B2A8FA #FAA8C7 #F0FAA8 #A8FADB
square
#B2A8FA #FAA8C7 #F0FAA8 #A8FADB
split-complementary
#B2A8FA #FADBA8 #C7FAA8
monochromatic
#4C34F3 #7F6EF7 #B2A8FA #E5E2FD #E5E2FD

Accessibility & contrast

On white

2.13
#B2A8FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#B2A8FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A8FA
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A8FA#FFFFFF#000000##000000
##B2A8FA1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B4FD
Deuteranopia (green-blind)
#91B0F8
Tritanopia (blue-blind)
#A1B7C6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b2a8fa;
/* rgb */ color: rgb(178, 168, 250);
/* oklch */ color: oklch(77.1% 0.116 289.0);
Tailwind
colors: {
  custom: {
    50: '#cac1fc',
    500: '#b2a8fa',
    950: '#000000',
  },
}
SCSS
$custom: #b2a8fa;
$custom-light: #cac1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a8fa",
  "rgb": {
    "r": 178,
    "g": 168,
    "b": 250
  },
  "hsl": {
    "h": 247.317,
    "s": 89.13,
    "l": 81.961
  },
  "oklch": {
    "l": 0.7709,
    "c": 0.11609,
    "h": 289
  },
  "luminance": 0.44372
}

Semantic roles & 50–950 ramp

primary
#B2A8FA
secondary
#F2F5D6
accent
#E600CA
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #B2A8FA

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

Preview Lab → · Contrast checker → · Palette generator →

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