#B4A5EA#B4A5EA

#B4A5EA is a light, moderate violet. Relative luminance 0.426; OKLCH L 76.0% C 0.099 H 293.9°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#B4A5EA
RGBrgb(180, 165, 234)
HSLhsl(253, 62%, 78%)
HSVhsv(253, 29%, 92%)
CMYKcmyk(23.1%, 29.5%, 0%, 8.2%)
CIE-LABlab(71.25, 19.66, -32.67)
CIE-LCHlch(71.25, 38.13, 301.03°)
OKLaboklab(75.97% 0.04 -0.0902)
OKLCHoklch(75.97% 0.099 293.9)
XYZxyz(47.1253, 42.5536, 83.5568)
Luminance0.4255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A5EA #DBEAA5
analogous
#A5B8EA #B4A5EA #D6A5EA
triadic
#B4A5EA #EAB4A5 #A5EAB4
tetradic
#B4A5EA #EAA5B8 #DBEAA5 #A5EAD6
square
#B4A5EA #EAA5B8 #DBEAA5 #A5EAD6
split-complementary
#B4A5EA #EAD6A5 #B8EAA5
monochromatic
#6142D3 #8B73DE #B4A5EA #DDD7F6 #EAE6F9

Accessibility & contrast

On white

2.21
#B4A5EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#B4A5EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A5EA
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A5EA#FFFFFF#000000##000000
##B4A5EA1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AFED
Deuteranopia (green-blind)
#96ADE8
Tritanopia (blue-blind)
#A9B0BE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b4a5ea;
/* rgb */ color: rgb(180, 165, 234);
/* oklch */ color: oklch(76.0% 0.099 293.9);
Tailwind
colors: {
  custom: {
    50: '#cbbff1',
    500: '#b4a5ea',
    950: '#000000',
  },
}
SCSS
$custom: #b4a5ea;
$custom-light: #cbbff1;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a5ea",
  "rgb": {
    "r": 180,
    "g": 165,
    "b": 234
  },
  "hsl": {
    "h": 253.043,
    "s": 62.162,
    "l": 78.235
  },
  "oklch": {
    "l": 0.75974,
    "c": 0.09869,
    "h": 293.9
  },
  "luminance": 0.42554
}

Semantic roles & 50–950 ramp

primary
#B4A5EA
secondary
#ECF1DA
accent
#CA1CA4
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B4A5EA

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

Preview Lab → · Contrast checker → · Palette generator →

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