#B7B1F5#B7B1F5

#B7B1F5 is a light, moderate blue. Relative luminance 0.481; OKLCH L 79.0% C 0.096 H 288.0°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#B7B1F5
RGBrgb(183, 177, 245)
HSLhsl(245, 77%, 83%)
HSVhsv(245, 28%, 96%)
CMYKcmyk(25.3%, 27.8%, 0%, 3.9%)
CIE-LABlab(74.89, 16.46, -33.00)
CIE-LCHlch(74.89, 36.88, 296.50°)
OKLaboklab(78.98% 0.0297 -0.0912)
OKLCHoklch(78.98% 0.096 288)
XYZxyz(51.7279, 48.1032, 92.9280)
Luminance0.4810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B1F5 #EFF5B1
analogous
#B1CDF5 #B7B1F5 #D9B1F5
triadic
#B7B1F5 #F5B7B1 #B1F5B7
tetradic
#B7B1F5 #F5B1CD #EFF5B1 #B1F5D9
square
#B7B1F5 #F5B1CD #EFF5B1 #B1F5D9
split-complementary
#B7B1F5 #F5D9B1 #CDF5B1
monochromatic
#5345E7 #857BEE #B7B1F5 #E6E4FC #E6E4FC

Accessibility & contrast

On white

1.98
#B7B1F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#B7B1F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B1F5
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B1F5#FFFFFF#000000##000000
##B7B1F51.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FBAF8
Deuteranopia (green-blind)
#9EB7F3
Tritanopia (blue-blind)
#A9BDC9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b7b1f5;
/* rgb */ color: rgb(183, 177, 245);
/* oklch */ color: oklch(79.0% 0.096 288.0);
Tailwind
colors: {
  custom: {
    50: '#cdc8f8',
    500: '#b7b1f5',
    950: '#000000',
  },
}
SCSS
$custom: #b7b1f5;
$custom-light: #cdc8f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b1f5",
  "rgb": {
    "r": 183,
    "g": 177,
    "b": 245
  },
  "hsl": {
    "h": 245.294,
    "s": 77.273,
    "l": 82.745
  },
  "oklch": {
    "l": 0.78978,
    "c": 0.09588,
    "h": 288
  },
  "luminance": 0.48104
}

Semantic roles & 50–950 ramp

primary
#B7B1F5
secondary
#F1F3D8
accent
#DA0CC7
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141317
muted
#828285

Preview Lab

Preview with #B7B1F5

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

Preview Lab → · Contrast checker → · Palette generator →

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