#B2A7F3#B2A7F3

#B2A7F3 is a light, moderate blue. Relative luminance 0.436; OKLCH L 76.6% C 0.108 H 290.2°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#B2A7F3
RGBrgb(178, 167, 243)
HSLhsl(249, 76%, 80%)
HSVhsv(249, 31%, 95%)
CMYKcmyk(26.7%, 31.3%, 0%, 4.7%)
CIE-LABlab(71.94, 20.08, -36.52)
CIE-LCHlch(71.94, 41.68, 298.81°)
OKLaboklab(76.58% 0.0373 -0.1013)
OKLCHoklch(76.58% 0.108 290.2)
XYZxyz(48.3525, 43.5726, 90.6395)
Luminance0.4357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A7F3 #E8F3A7
analogous
#A7C2F3 #B2A7F3 #D8A7F3
triadic
#B2A7F3 #F3B2A7 #A7F3B2
tetradic
#B2A7F3 #F3A7C2 #E8F3A7 #A7F3D8
square
#B2A7F3 #F3A7C2 #E8F3A7 #A7F3D8
split-complementary
#B2A7F3 #F3D8A7 #C2F3A7
monochromatic
#543BE4 #8371EC #B2A7F3 #E1DDFA #E7E4FB

Accessibility & contrast

On white

2.16
#B2A7F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#B2A7F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A7F3
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A7F3#FFFFFF#000000##000000
##B2A7F31.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B2F6
Deuteranopia (green-blind)
#93AFF1
Tritanopia (blue-blind)
#A4B4C2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2a7f3;
/* rgb */ color: rgb(178, 167, 243);
/* oklch */ color: oklch(76.6% 0.108 290.2);
Tailwind
colors: {
  custom: {
    50: '#cac1f7',
    500: '#b2a7f3',
    950: '#000000',
  },
}
SCSS
$custom: #b2a7f3;
$custom-light: #cac1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a7f3",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 243
  },
  "hsl": {
    "h": 248.684,
    "s": 76,
    "l": 80.392
  },
  "oklch": {
    "l": 0.76584,
    "c": 0.10793,
    "h": 290.2
  },
  "luminance": 0.43573
}

Semantic roles & 50–950 ramp

primary
#B2A7F3
secondary
#EFF3D8
accent
#D80DBB
background
#FCFBFF
surface
#F8F7FE
border
#D1D0D6
text
#131217
muted
#828185

Preview Lab

Preview with #B2A7F3

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

Preview Lab → · Contrast checker → · Palette generator →

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