#B2A4EA#B2A4EA

#B2A4EA is a light, moderate violet. Relative luminance 0.420; OKLCH L 75.6% C 0.100 H 293.0°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#B2A4EA
RGBrgb(178, 164, 234)
HSLhsl(252, 63%, 78%)
HSVhsv(252, 30%, 92%)
CMYKcmyk(23.9%, 29.9%, 0%, 8.2%)
CIE-LABlab(70.84, 19.62, -33.32)
CIE-LCHlch(70.84, 38.67, 300.49°)
OKLaboklab(75.62% 0.0392 -0.0921)
OKLCHoklch(75.62% 0.1 293)
XYZxyz(46.4833, 41.9558, 83.4753)
Luminance0.4196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A4EA #DCEAA4
analogous
#A4B9EA #B2A4EA #D5A4EA
triadic
#B2A4EA #EAB2A4 #A4EAB2
tetradic
#B2A4EA #EAA4B9 #DCEAA4 #A4EAD5
square
#B2A4EA #EAA4B9 #DCEAA4 #A4EAD5
split-complementary
#B2A4EA #EAD5A4 #B9EAA4
monochromatic
#5E41D3 #8872DF #B2A4EA #DCD6F5 #EAE6F9

Accessibility & contrast

On white

2.24
#B2A4EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#B2A4EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A4EA
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A4EA#FFFFFF#000000##000000
##B2A4EA1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AEED
Deuteranopia (green-blind)
#94ACE8
Tritanopia (blue-blind)
#A6B0BD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2a4ea;
/* rgb */ color: rgb(178, 164, 234);
/* oklch */ color: oklch(75.6% 0.100 293.0);
Tailwind
colors: {
  custom: {
    50: '#cabff1',
    500: '#b2a4ea',
    950: '#000000',
  },
}
SCSS
$custom: #b2a4ea;
$custom-light: #cabff1;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a4ea",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 234
  },
  "hsl": {
    "h": 252,
    "s": 62.5,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75618,
    "c": 0.10008,
    "h": 293
  },
  "luminance": 0.41956
}

Semantic roles & 50–950 ramp

primary
#B2A4EA
secondary
#ECF1DA
accent
#CA1BA7
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B2A4EA

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

Preview Lab → · Contrast checker → · Palette generator →

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