#B2A4E8#B2A4E8

#B2A4E8 is a light, moderate violet. Relative luminance 0.418; OKLCH L 75.5% C 0.097 H 293.4°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#B2A4E8
RGBrgb(178, 164, 232)
HSLhsl(252, 60%, 78%)
HSVhsv(252, 29%, 91%)
CMYKcmyk(23.3%, 29.3%, 0%, 9%)
CIE-LABlab(70.76, 19.15, -32.35)
CIE-LCHlch(70.76, 37.60, 300.63°)
OKLaboklab(75.53% 0.0386 -0.0893)
OKLCHoklch(75.53% 0.097 293.4)
XYZxyz(46.1976, 41.8415, 81.9706)
Luminance0.4184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A4E8 #DAE8A4
analogous
#A4B8E8 #B2A4E8 #D4A4E8
triadic
#B2A4E8 #E8B2A4 #A4E8B2
tetradic
#B2A4E8 #E8A4B8 #DAE8A4 #A4E8D4
square
#B2A4E8 #E8A4B8 #DAE8A4 #A4E8D4
split-complementary
#B2A4E8 #E8D4A4 #B8E8A4
monochromatic
#5F42CF #8973DC #B2A4E8 #DBD5F4 #EAE7F9

Accessibility & contrast

On white

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

On black

9.37
#B2A4E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A4E8
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A4E8#FFFFFF#000000##000000
##B2A4E81.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AEEB
Deuteranopia (green-blind)
#95ACE6
Tritanopia (blue-blind)
#A7AFBC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2a4e8;
/* rgb */ color: rgb(178, 164, 232);
/* oklch */ color: oklch(75.5% 0.097 293.4);
Tailwind
colors: {
  custom: {
    50: '#cabfef',
    500: '#b2a4e8',
    950: '#000000',
  },
}
SCSS
$custom: #b2a4e8;
$custom-light: #cabfef;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a4e8",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 232
  },
  "hsl": {
    "h": 252.353,
    "s": 59.649,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75532,
    "c": 0.09733,
    "h": 293.4
  },
  "luminance": 0.41842
}

Semantic roles & 50–950 ramp

primary
#B2A4E8
secondary
#ECF0DB
accent
#C71EA4
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B2A4E8

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

Preview Lab → · Contrast checker → · Palette generator →

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