#B4A2EA#B4A2EA

#B4A2EA is a light, moderate violet. Relative luminance 0.415; OKLCH L 75.4% C 0.103 H 295.3°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#B4A2EA
RGBrgb(180, 162, 234)
HSLhsl(255, 63%, 78%)
HSVhsv(255, 31%, 92%)
CMYKcmyk(23.1%, 30.8%, 0%, 8.2%)
CIE-LABlab(70.51, 21.33, -33.81)
CIE-LCHlch(70.51, 39.98, 302.25°)
OKLaboklab(75.41% 0.0442 -0.0935)
OKLCHoklch(75.41% 0.103 295.3)
XYZxyz(46.5906, 41.4840, 83.3786)
Luminance0.4148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A2EA #D8EAA2
analogous
#A2B4EA #B4A2EA #D8A2EA
triadic
#B4A2EA #EAB4A2 #A2EAB4
tetradic
#B4A2EA #EAA2B4 #D8EAA2 #A2EAD8
square
#B4A2EA #EAA2B4 #D8EAA2 #A2EAD8
split-complementary
#B4A2EA #EAD8A2 #B4EAA2
monochromatic
#633ED3 #8C70DF #B4A2EA #DCD4F5 #EBE6F9

Accessibility & contrast

On white

2.26
#B4A2EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#B4A2EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A2EA
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A2EA#FFFFFF#000000##000000
##B4A2EA1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91ADED
Deuteranopia (green-blind)
#93ABE8
Tritanopia (blue-blind)
#A9AEBC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b4a2ea;
/* rgb */ color: rgb(180, 162, 234);
/* oklch */ color: oklch(75.4% 0.103 295.3);
Tailwind
colors: {
  custom: {
    50: '#cbbdf1',
    500: '#b4a2ea',
    950: '#000000',
  },
}
SCSS
$custom: #b4a2ea;
$custom-light: #cbbdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a2ea",
  "rgb": {
    "r": 180,
    "g": 162,
    "b": 234
  },
  "hsl": {
    "h": 255,
    "s": 63.158,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75407,
    "c": 0.10339,
    "h": 295.3
  },
  "luminance": 0.41484
}

Semantic roles & 50–950 ramp

primary
#B4A2EA
secondary
#EBF1DA
accent
#CB1B9F
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B4A2EA

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

Preview Lab → · Contrast checker → · Palette generator →

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