#B2A7E4#B2A7E4

#B2A7E4 is a light, moderate violet. Relative luminance 0.427; OKLCH L 75.9% C 0.087 H 292.5°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#B2A7E4
RGBrgb(178, 167, 228)
HSLhsl(251, 53%, 77%)
HSVhsv(251, 27%, 89%)
CMYKcmyk(21.9%, 26.8%, 0%, 10.6%)
CIE-LABlab(71.35, 16.55, -29.25)
CIE-LCHlch(71.35, 33.61, 299.50°)
OKLaboklab(75.94% 0.0333 -0.0805)
OKLCHoklch(75.94% 0.087 292.5)
XYZxyz(46.1791, 42.7033, 79.1934)
Luminance0.4270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A7E4 #D9E4A7
analogous
#A7BAE4 #B2A7E4 #D1A7E4
triadic
#B2A7E4 #E4B2A7 #A7E4B2
tetradic
#B2A7E4 #E4A7BA #D9E4A7 #A7E4D1
square
#B2A7E4 #E4A7BA #D9E4A7 #A7E4D1
split-complementary
#B2A7E4 #E4D1A7 #BAE4A7
monochromatic
#6049C7 #8978D6 #B2A7E4 #DBD6F2 #EBE8F8

Accessibility & contrast

On white

2.20
#B2A7E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#B2A7E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A7E4
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A7E4#FFFFFF#000000##000000
##B2A7E41.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B0E7
Deuteranopia (green-blind)
#99AEE2
Tritanopia (blue-blind)
#A8B1BC
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2a7e4;
/* rgb */ color: rgb(178, 167, 228);
/* oklch */ color: oklch(75.9% 0.087 292.5);
Tailwind
colors: {
  custom: {
    50: '#cac1ec',
    500: '#b2a7e4',
    950: '#000000',
  },
}
SCSS
$custom: #b2a7e4;
$custom-light: #cac1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a7e4",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 228
  },
  "hsl": {
    "h": 250.82,
    "s": 53.043,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75937,
    "c": 0.08714,
    "h": 292.5
  },
  "luminance": 0.42704
}

Semantic roles & 50–950 ramp

primary
#B2A7E4
secondary
#ECEFDC
accent
#C025A4
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B2A7E4

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

Preview Lab → · Contrast checker → · Palette generator →

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