#B4ACFC#B4ACFC

#B4ACFC is a light, moderate blue. Relative luminance 0.462; OKLCH L 78.1% C 0.113 H 288.1°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#B4ACFC
RGBrgb(180, 172, 252)
HSLhsl(246, 93%, 83%)
HSVhsv(246, 32%, 99%)
CMYKcmyk(28.6%, 31.7%, 0%, 1.2%)
CIE-LABlab(73.70, 20.05, -38.65)
CIE-LCHlch(73.70, 43.54, 297.41°)
OKLaboklab(78.09% 0.035 -0.1074)
OKLCHoklch(78.09% 0.113 288.1)
XYZxyz(51.1411, 46.2355, 98.3065)
Luminance0.4624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4ACFC #F4FCAC
analogous
#ACCCFC #B4ACFC #DCACFC
triadic
#B4ACFC #FCB4AC #ACFCB4
tetradic
#B4ACFC #FCACCC #F4FCAC #ACFCDC
square
#B4ACFC #FCACCC #F4FCAC #ACFCDC
split-complementary
#B4ACFC #FCDCAC #CCFCAC
monochromatic
#4936F8 #7F71FA #B4ACFC #E4E1FE #E4E1FE

Accessibility & contrast

On white

2.05
#B4ACFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#B4ACFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4ACFC
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4ACFC#FFFFFF#000000##000000
##B4ACFC1.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B7FF
Deuteranopia (green-blind)
#95B3FA
Tritanopia (blue-blind)
#A3BAC9
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b4acfc;
/* rgb */ color: rgb(180, 172, 252);
/* oklch */ color: oklch(78.1% 0.113 288.1);
Tailwind
colors: {
  custom: {
    50: '#ccc4fd',
    500: '#b4acfc',
    950: '#000000',
  },
}
SCSS
$custom: #b4acfc;
$custom-light: #ccc4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b4acfc",
  "rgb": {
    "r": 180,
    "g": 172,
    "b": 252
  },
  "hsl": {
    "h": 246,
    "s": 93.023,
    "l": 83.137
  },
  "oklch": {
    "l": 0.78094,
    "c": 0.11294,
    "h": 288.1
  },
  "luminance": 0.46237
}

Semantic roles & 50–950 ramp

primary
#B4ACFC
secondary
#F3F6D5
accent
#E600CF
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#131217
muted
#828185

Preview Lab

Preview with #B4ACFC

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

Preview Lab → · Contrast checker → · Palette generator →

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