#B2A7F0#B2A7F0

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

Color values

HEX#B2A7F0
RGBrgb(178, 167, 240)
HSLhsl(249, 71%, 80%)
HSVhsv(249, 30%, 94%)
CMYKcmyk(25.8%, 30.4%, 0%, 5.9%)
CIE-LABlab(71.82, 19.37, -35.07)
CIE-LCHlch(71.82, 40.06, 298.91°)
OKLaboklab(76.45% 0.0366 -0.0971)
OKLCHoklch(76.45% 0.104 290.6)
XYZxyz(47.9031, 43.3929, 88.2731)
Luminance0.4339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A7F0 #E5F0A7
analogous
#A7C1F0 #B2A7F0 #D7A7F0
triadic
#B2A7F0 #F0B2A7 #A7F0B2
tetradic
#B2A7F0 #F0A7C1 #E5F0A7 #A7F0D7
square
#B2A7F0 #F0A7C1 #E5F0A7 #A7F0D7
split-complementary
#B2A7F0 #F0D7A7 #C1F0A7
monochromatic
#563EDE #8473E7 #B2A7F0 #E0DBF9 #E8E5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A7F0#FFFFFF#000000##000000
##B2A7F01.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)
#94B1F3
Deuteranopia (green-blind)
#94AEEE
Tritanopia (blue-blind)
#A4B3C1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2a7f0;
/* rgb */ color: rgb(178, 167, 240);
/* oklch */ color: oklch(76.5% 0.104 290.6);
Tailwind
colors: {
  custom: {
    50: '#cac1f5',
    500: '#b2a7f0',
    950: '#000000',
  },
}
SCSS
$custom: #b2a7f0;
$custom-light: #cac1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a7f0",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 240
  },
  "hsl": {
    "h": 249.041,
    "s": 70.874,
    "l": 79.804
  },
  "oklch": {
    "l": 0.76451,
    "c": 0.10379,
    "h": 290.6
  },
  "luminance": 0.43394
}

Semantic roles & 50–950 ramp

primary
#B2A7F0
secondary
#EEF2D9
accent
#D313B6
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #B2A7F0

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

Preview Lab → · Contrast checker → · Palette generator →

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