#B2A4E7#B2A4E7

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

Color values

HEX#B2A4E7
RGBrgb(178, 164, 231)
HSLhsl(253, 58%, 77%)
HSVhsv(253, 29%, 91%)
CMYKcmyk(22.9%, 29%, 0%, 9.4%)
CIE-LABlab(70.72, 18.92, -31.87)
CIE-LCHlch(70.72, 37.06, 300.70°)
OKLaboklab(75.49% 0.0383 -0.0879)
OKLCHoklch(75.49% 0.096 293.6)
XYZxyz(46.0560, 41.7849, 81.2247)
Luminance0.4178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A4E7 #D9E7A4
analogous
#A4B8E7 #B2A4E7 #D3A4E7
triadic
#B2A4E7 #E7B2A4 #A4E7B2
tetradic
#B2A4E7 #E7A4B8 #D9E7A4 #A4E7D3
square
#B2A4E7 #E7A4B8 #D9E7A4 #A4E7D3
split-complementary
#B2A4E7 #E7D3A4 #B8E7A4
monochromatic
#6043CD #8974DA #B2A4E7 #DBD4F4 #EBE7F9

Accessibility & contrast

On white

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

On black

9.36
#B2A4E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A4E7
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A4E7#FFFFFF#000000##000000
##B2A4E71.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AEEA
Deuteranopia (green-blind)
#95ACE5
Tritanopia (blue-blind)
#A7AFBC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2a4e7;
/* rgb */ color: rgb(178, 164, 231);
/* oklch */ color: oklch(75.5% 0.096 293.6);
Tailwind
colors: {
  custom: {
    50: '#cabfef',
    500: '#b2a4e7',
    950: '#000000',
  },
}
SCSS
$custom: #b2a4e7;
$custom-light: #cabfef;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a4e7",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 231
  },
  "hsl": {
    "h": 252.537,
    "s": 58.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75489,
    "c": 0.09594,
    "h": 293.6
  },
  "luminance": 0.41785
}

Semantic roles & 50–950 ramp

primary
#B2A4E7
secondary
#ECF0DB
accent
#C620A3
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B2A4E7

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

Preview Lab → · Contrast checker → · Palette generator →

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