#B2A8FF#B2A8FF

#B2A8FF is a light, vivid blue. Relative luminance 0.447; OKLCH L 77.3% C 0.123 H 288.4°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#B2A8FF
RGBrgb(178, 168, 255)
HSLhsl(247, 100%, 83%)
HSVhsv(247, 34%, 100%)
CMYKcmyk(30.2%, 34.1%, 0%, 0%)
CIE-LABlab(72.69, 22.45, -41.86)
CIE-LCHlch(72.69, 47.50, 298.21°)
OKLaboklab(77.32% 0.0389 -0.1166)
OKLCHoklch(77.32% 0.123 288.4)
XYZxyz(50.4081, 44.6891, 100.5584)
Luminance0.4469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A8FF #F5FFA8
analogous
#A8C9FF #B2A8FF #DEA8FF
triadic
#B2A8FF #FFB2A8 #A8FFB2
tetradic
#B2A8FF #FFA8C9 #F5FFA8 #A8FFDE
square
#B2A8FF #FFA8C9 #F5FFA8 #A8FFDE
split-complementary
#B2A8FF #FFDEA8 #C9FFA8
monochromatic
#462EFF #7C6BFF #B2A8FF #E4E0FF #E4E0FF

Accessibility & contrast

On white

2.11
#B2A8FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#B2A8FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A8FF
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A8FF#FFFFFF#000000##000000
##B2A8FF1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB4FF
Deuteranopia (green-blind)
#8EB0FD
Tritanopia (blue-blind)
#A0B8C8
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b2a8ff;
/* rgb */ color: rgb(178, 168, 255);
/* oklch */ color: oklch(77.3% 0.123 288.4);
Tailwind
colors: {
  custom: {
    50: '#cbc1ff',
    500: '#b2a8ff',
    950: '#000000',
  },
}
SCSS
$custom: #b2a8ff;
$custom-light: #cbc1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a8ff",
  "rgb": {
    "r": 178,
    "g": 168,
    "b": 255
  },
  "hsl": {
    "h": 246.897,
    "s": 100,
    "l": 82.941
  },
  "oklch": {
    "l": 0.77321,
    "c": 0.12295,
    "h": 288.4
  },
  "luminance": 0.4469
}

Semantic roles & 50–950 ramp

primary
#B2A8FF
secondary
#F3F7D4
accent
#E600CB
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #B2A8FF

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

Preview Lab → · Contrast checker → · Palette generator →

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