#B4ABFF#B4ABFF

#B4ABFF is a light, moderate blue. Relative luminance 0.460; OKLCH L 78.0% C 0.119 H 288.2°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#B4ABFF
RGBrgb(180, 171, 255)
HSLhsl(246, 100%, 84%)
HSVhsv(246, 33%, 100%)
CMYKcmyk(29.4%, 32.9%, 0%, 0%)
CIE-LABlab(73.58, 21.33, -40.46)
CIE-LCHlch(73.58, 45.74, 297.80°)
OKLaboklab(78.04% 0.0371 -0.1126)
OKLCHoklch(78.04% 0.119 288.2)
XYZxyz(51.4307, 46.0480, 100.7668)
Luminance0.4605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4ABFF #F6FFAB
analogous
#ABCCFF #B4ABFF #DEABFF
triadic
#B4ABFF #FFB4AB #ABFFB4
tetradic
#B4ABFF #FFABCC #F6FFAB #ABFFDE
square
#B4ABFF #FFABCC #F6FFAB #ABFFDE
split-complementary
#B4ABFF #FFDEAB #CCFFAB
monochromatic
#4731FF #7D6EFF #B4ABFF #E4E0FF #E4E0FF

Accessibility & contrast

On white

2.06
#B4ABFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#B4ABFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4ABFF
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4ABFF#FFFFFF#000000##000000
##B4ABFF1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B7FF
Deuteranopia (green-blind)
#93B3FD
Tritanopia (blue-blind)
#A2BACA
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b4abff;
/* rgb */ color: rgb(180, 171, 255);
/* oklch */ color: oklch(78.0% 0.119 288.2);
Tailwind
colors: {
  custom: {
    50: '#ccc4ff',
    500: '#b4abff',
    950: '#000000',
  },
}
SCSS
$custom: #b4abff;
$custom-light: #ccc4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b4abff",
  "rgb": {
    "r": 180,
    "g": 171,
    "b": 255
  },
  "hsl": {
    "h": 246.429,
    "s": 100,
    "l": 83.529
  },
  "oklch": {
    "l": 0.78042,
    "c": 0.11852,
    "h": 288.2
  },
  "luminance": 0.46049
}

Semantic roles & 50–950 ramp

primary
#B4ABFF
secondary
#F4F7D4
accent
#E600CD
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#131218
muted
#828186

Preview Lab

Preview with #B4ABFF

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

Preview Lab → · Contrast checker → · Palette generator →

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