#B7ACFF#B7ACFF

#B7ACFF is a light, moderate blue. Relative luminance 0.468; OKLCH L 78.5% C 0.117 H 289.5°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#B7ACFF
RGBrgb(183, 172, 255)
HSLhsl(248, 100%, 84%)
HSVhsv(248, 33%, 100%)
CMYKcmyk(28.2%, 32.5%, 0%, 0%)
CIE-LABlab(74.06, 21.62, -39.69)
CIE-LCHlch(74.06, 45.20, 298.58°)
OKLaboklab(78.47% 0.039 -0.1103)
OKLCHoklch(78.47% 0.117 289.5)
XYZxyz(52.3264, 46.7913, 100.8631)
Luminance0.4679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7ACFF #F4FFAC
analogous
#ACCAFF #B7ACFF #E0ACFF
triadic
#B7ACFF #FFB7AC #ACFFB7
tetradic
#B7ACFF #FFACCA #F4FFAC #ACFFE0
square
#B7ACFF #FFACCA #F4FFAC #ACFFE0
split-complementary
#B7ACFF #FFE0AC #CAFFAC
monochromatic
#4D32FF #826FFF #B7ACFF #E4E0FF #E4E0FF

Accessibility & contrast

On white

2.03
#B7ACFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#B7ACFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7ACFF
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7ACFF#FFFFFF#000000##000000
##B7ACFF1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B8FF
Deuteranopia (green-blind)
#95B4FD
Tritanopia (blue-blind)
#A7BBCA
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b7acff;
/* rgb */ color: rgb(183, 172, 255);
/* oklch */ color: oklch(78.5% 0.117 289.5);
Tailwind
colors: {
  custom: {
    50: '#cec4ff',
    500: '#b7acff',
    950: '#000000',
  },
}
SCSS
$custom: #b7acff;
$custom-light: #cec4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b7acff",
  "rgb": {
    "r": 183,
    "g": 172,
    "b": 255
  },
  "hsl": {
    "h": 247.952,
    "s": 100,
    "l": 83.725
  },
  "oklch": {
    "l": 0.78468,
    "c": 0.11702,
    "h": 289.5
  },
  "luminance": 0.46792
}

Semantic roles & 50–950 ramp

primary
#B7ACFF
secondary
#F3F7D4
accent
#E600C7
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141218
muted
#828186

Preview Lab

Preview with #B7ACFF

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

Preview Lab → · Contrast checker → · Palette generator →

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