#B2A2EB#B2A2EB

#B2A2EB is a light, moderate violet. Relative luminance 0.413; OKLCH L 75.3% C 0.105 H 293.8°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#B2A2EB
RGBrgb(178, 162, 235)
HSLhsl(253, 65%, 78%)
HSVhsv(253, 31%, 92%)
CMYKcmyk(24.3%, 31.1%, 0%, 7.8%)
CIE-LABlab(70.39, 20.98, -34.57)
CIE-LCHlch(70.39, 40.44, 301.25°)
OKLaboklab(75.28% 0.0422 -0.0957)
OKLCHoklch(75.28% 0.105 293.8)
XYZxyz(46.2723, 41.3032, 84.1156)
Luminance0.4130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A2EB #DBEBA2
analogous
#A2B6EB #B2A2EB #D7A2EB
triadic
#B2A2EB #EBB2A2 #A2EBB2
tetradic
#B2A2EB #EBA2B6 #DBEBA2 #A2EBD7
square
#B2A2EB #EBA2B6 #DBEBA2 #A2EBD7
split-complementary
#B2A2EB #EBD7A2 #B6EBA2
monochromatic
#5F3DD5 #8870E0 #B2A2EB #DCD4F6 #EAE6FA

Accessibility & contrast

On white

2.27
#B2A2EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#B2A2EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A2EB
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A2EB#FFFFFF#000000##000000
##B2A2EB1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ADEE
Deuteranopia (green-blind)
#91ABE9
Tritanopia (blue-blind)
#A6AEBC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b2a2eb;
/* rgb */ color: rgb(178, 162, 235);
/* oklch */ color: oklch(75.3% 0.105 293.8);
Tailwind
colors: {
  custom: {
    50: '#cabdf1',
    500: '#b2a2eb',
    950: '#000000',
  },
}
SCSS
$custom: #b2a2eb;
$custom-light: #cabdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a2eb",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 235
  },
  "hsl": {
    "h": 253.151,
    "s": 64.602,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75284,
    "c": 0.10456,
    "h": 293.8
  },
  "luminance": 0.41304
}

Semantic roles & 50–950 ramp

primary
#B2A2EB
secondary
#ECF1DA
accent
#CC19A5
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #B2A2EB

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

Preview Lab → · Contrast checker → · Palette generator →

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