#B1A7F2#B1A7F2

#B1A7F2 is a light, moderate blue. Relative luminance 0.434; OKLCH L 76.5% C 0.107 H 289.7°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#B1A7F2
RGBrgb(177, 167, 242)
HSLhsl(248, 74%, 80%)
HSVhsv(248, 31%, 95%)
CMYKcmyk(26.9%, 31%, 0%, 5.1%)
CIE-LABlab(71.82, 19.56, -36.17)
CIE-LCHlch(71.82, 41.11, 298.40°)
OKLaboklab(76.46% 0.036 -0.1003)
OKLCHoklch(76.46% 0.107 289.7)
XYZxyz(47.9732, 43.3945, 89.8357)
Luminance0.4340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A7F2 #E8F2A7
analogous
#A7C2F2 #B1A7F2 #D6A7F2
triadic
#B1A7F2 #F2B1A7 #A7F2B1
tetradic
#B1A7F2 #F2A7C2 #E8F2A7 #A7F2D6
square
#B1A7F2 #F2A7C2 #E8F2A7 #A7F2D6
split-complementary
#B1A7F2 #F2D6A7 #C2F2A7
monochromatic
#523CE2 #8272EA #B1A7F2 #E0DCFA #E7E4FB

Accessibility & contrast

On white

2.17
#B1A7F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#B1A7F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A7F2
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A7F2#FFFFFF#000000##000000
##B1A7F21.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B1F5
Deuteranopia (green-blind)
#93AEF0
Tritanopia (blue-blind)
#A2B4C2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b1a7f2;
/* rgb */ color: rgb(177, 167, 242);
/* oklch */ color: oklch(76.5% 0.107 289.7);
Tailwind
colors: {
  custom: {
    50: '#c9c1f6',
    500: '#b1a7f2',
    950: '#000000',
  },
}
SCSS
$custom: #b1a7f2;
$custom-light: #c9c1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a7f2",
  "rgb": {
    "r": 177,
    "g": 167,
    "b": 242
  },
  "hsl": {
    "h": 248,
    "s": 74.257,
    "l": 80.196
  },
  "oklch": {
    "l": 0.76459,
    "c": 0.10654,
    "h": 289.7
  },
  "luminance": 0.43395
}

Semantic roles & 50–950 ramp

primary
#B1A7F2
secondary
#EFF3D8
accent
#D60FBC
background
#FCFBFF
surface
#F8F7FE
border
#D1D0D6
text
#131217
muted
#828185

Preview Lab

Preview with #B1A7F2

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

Preview Lab → · Contrast checker → · Palette generator →

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