#B4A7E4#B4A7E4

#B4A7E4 is a light, moderate violet. Relative luminance 0.429; OKLCH L 76.1% C 0.087 H 294.0°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#B4A7E4
RGBrgb(180, 167, 228)
HSLhsl(253, 53%, 77%)
HSVhsv(253, 27%, 89%)
CMYKcmyk(21.1%, 26.8%, 0%, 10.6%)
CIE-LABlab(71.52, 17.16, -28.99)
CIE-LCHlch(71.52, 33.69, 300.62°)
OKLaboklab(76.1% 0.0355 -0.0797)
OKLCHoklch(76.1% 0.087 294)
XYZxyz(46.6415, 42.9417, 79.2151)
Luminance0.4294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A7E4 #D7E4A7
analogous
#A7B9E4 #B4A7E4 #D3A7E4
triadic
#B4A7E4 #E4B4A7 #A7E4B4
tetradic
#B4A7E4 #E4A7B9 #D7E4A7 #A7E4D3
square
#B4A7E4 #E4A7B9 #D7E4A7 #A7E4D3
split-complementary
#B4A7E4 #E4D3A7 #B9E4A7
monochromatic
#6449C7 #8C78D6 #B4A7E4 #DCD6F2 #EBE8F8

Accessibility & contrast

On white

2.19
#B4A7E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#B4A7E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A7E4
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A7E4#FFFFFF#000000##000000
##B4A7E41.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B0E7
Deuteranopia (green-blind)
#9AAEE2
Tritanopia (blue-blind)
#ABB1BC
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b4a7e4;
/* rgb */ color: rgb(180, 167, 228);
/* oklch */ color: oklch(76.1% 0.087 294.0);
Tailwind
colors: {
  custom: {
    50: '#cbc1ec',
    500: '#b4a7e4',
    950: '#000000',
  },
}
SCSS
$custom: #b4a7e4;
$custom-light: #cbc1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a7e4",
  "rgb": {
    "r": 180,
    "g": 167,
    "b": 228
  },
  "hsl": {
    "h": 252.787,
    "s": 53.043,
    "l": 77.451
  },
  "oklch": {
    "l": 0.76102,
    "c": 0.0873,
    "h": 294
  },
  "luminance": 0.42942
}

Semantic roles & 50–950 ramp

primary
#B4A7E4
secondary
#EBEFDC
accent
#C0259F
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B4A7E4

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

Preview Lab → · Contrast checker → · Palette generator →

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