#B4A8F2#B4A8F2

#B4A8F2 is a light, moderate blue. Relative luminance 0.441; OKLCH L 76.9% C 0.105 H 291.1°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#B4A8F2
RGBrgb(180, 168, 242)
HSLhsl(250, 74%, 80%)
HSVhsv(250, 31%, 95%)
CMYKcmyk(25.6%, 30.6%, 0%, 5.1%)
CIE-LABlab(72.31, 19.87, -35.39)
CIE-LCHlch(72.31, 40.59, 299.31°)
OKLaboklab(76.89% 0.0379 -0.098)
OKLCHoklch(76.89% 0.105 291.1)
XYZxyz(48.8481, 44.1186, 89.9293)
Luminance0.4412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A8F2 #E6F2A8
analogous
#A8C1F2 #B4A8F2 #D9A8F2
triadic
#B4A8F2 #F2B4A8 #A8F2B4
tetradic
#B4A8F2 #F2A8C1 #E6F2A8 #A8F2D9
square
#B4A8F2 #F2A8C1 #E6F2A8 #A8F2D9
split-complementary
#B4A8F2 #F2D9A8 #C1F2A8
monochromatic
#583EE2 #8673EA #B4A8F2 #E2DDFA #E8E4FB

Accessibility & contrast

On white

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

On black

9.82
#B4A8F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A8F2
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A8F2#FFFFFF#000000##000000
##B4A8F21.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B3F5
Deuteranopia (green-blind)
#95B0F0
Tritanopia (blue-blind)
#A7B5C3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b4a8f2;
/* rgb */ color: rgb(180, 168, 242);
/* oklch */ color: oklch(76.9% 0.105 291.1);
Tailwind
colors: {
  custom: {
    50: '#cbc1f6',
    500: '#b4a8f2',
    950: '#000000',
  },
}
SCSS
$custom: #b4a8f2;
$custom-light: #cbc1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a8f2",
  "rgb": {
    "r": 180,
    "g": 168,
    "b": 242
  },
  "hsl": {
    "h": 249.73,
    "s": 74,
    "l": 80.392
  },
  "oklch": {
    "l": 0.76892,
    "c": 0.1051,
    "h": 291.1
  },
  "luminance": 0.44119
}

Semantic roles & 50–950 ramp

primary
#B4A8F2
secondary
#EEF3D8
accent
#D60FB6
background
#FCFBFF
surface
#F9F7FE
border
#D2D0D6
text
#131217
muted
#828185

Preview Lab

Preview with #B4A8F2

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

Preview Lab → · Contrast checker → · Palette generator →

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