#B4A8EA#B4A8EA

#B4A8EA is a light, moderate violet. Relative luminance 0.436; OKLCH L 76.5% C 0.094 H 292.4°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#B4A8EA
RGBrgb(180, 168, 234)
HSLhsl(251, 61%, 79%)
HSVhsv(251, 28%, 92%)
CMYKcmyk(23.1%, 28.2%, 0%, 8.2%)
CIE-LABlab(71.99, 17.99, -31.53)
CIE-LCHlch(71.99, 36.30, 299.70°)
OKLaboklab(76.55% 0.0358 -0.087)
OKLCHoklch(76.55% 0.094 292.4)
XYZxyz(47.6728, 43.6485, 83.7393)
Luminance0.4365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A8EA #DEEAA8
analogous
#A8BDEA #B4A8EA #D5A8EA
triadic
#B4A8EA #EAB4A8 #A8EAB4
tetradic
#B4A8EA #EAA8BD #DEEAA8 #A8EAD5
square
#B4A8EA #EAA8BD #DEEAA8 #A8EAD5
split-complementary
#B4A8EA #EAD5A8 #BDEAA8
monochromatic
#5F45D2 #8A77DE #B4A8EA #DFD9F6 #EAE6F9

Accessibility & contrast

On white

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

On black

9.73
#B4A8EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A8EA
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A8EA#FFFFFF#000000##000000
##B4A8EA1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B1ED
Deuteranopia (green-blind)
#99AFE8
Tritanopia (blue-blind)
#A9B3BF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b4a8ea;
/* rgb */ color: rgb(180, 168, 234);
/* oklch */ color: oklch(76.5% 0.094 292.4);
Tailwind
colors: {
  custom: {
    50: '#cbc1f1',
    500: '#b4a8ea',
    950: '#000000',
  },
}
SCSS
$custom: #b4a8ea;
$custom-light: #cbc1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a8ea",
  "rgb": {
    "r": 180,
    "g": 168,
    "b": 234
  },
  "hsl": {
    "h": 250.909,
    "s": 61.111,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76545,
    "c": 0.09405,
    "h": 292.4
  },
  "luminance": 0.43649
}

Semantic roles & 50–950 ramp

primary
#B4A8EA
secondary
#ECF0DB
accent
#C91DAA
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B4A8EA

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

Preview Lab → · Contrast checker → · Palette generator →

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