#B2A2EA#B2A2EA

#B2A2EA is a light, moderate violet. Relative luminance 0.412; OKLCH L 75.2% C 0.103 H 294.0°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#B2A2EA
RGBrgb(178, 162, 234)
HSLhsl(253, 63%, 78%)
HSVhsv(253, 31%, 92%)
CMYKcmyk(23.9%, 30.8%, 0%, 8.2%)
CIE-LABlab(70.35, 20.74, -34.09)
CIE-LCHlch(70.35, 39.90, 301.32°)
OKLaboklab(75.24% 0.0419 -0.0943)
OKLCHoklch(75.24% 0.103 294)
XYZxyz(46.1282, 41.2456, 83.3569)
Luminance0.4125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A2EA #DAEAA2
analogous
#A2B6EA #B2A2EA #D6A2EA
triadic
#B2A2EA #EAB2A2 #A2EAB2
tetradic
#B2A2EA #EAA2B6 #DAEAA2 #A2EAD6
square
#B2A2EA #EAA2B6 #DAEAA2 #A2EAD6
split-complementary
#B2A2EA #EAD6A2 #B6EAA2
monochromatic
#5F3ED3 #8970DF #B2A2EA #DBD4F5 #EAE6F9

Accessibility & contrast

On white

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

On black

9.25
#B2A2EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A2EA
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A2EA#FFFFFF#000000##000000
##B2A2EA1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ADED
Deuteranopia (green-blind)
#92ABE8
Tritanopia (blue-blind)
#A7AEBC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b2a2ea;
/* rgb */ color: rgb(178, 162, 234);
/* oklch */ color: oklch(75.2% 0.103 294.0);
Tailwind
colors: {
  custom: {
    50: '#cabdf1',
    500: '#b2a2ea',
    950: '#000000',
  },
}
SCSS
$custom: #b2a2ea;
$custom-light: #cabdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a2ea",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 234
  },
  "hsl": {
    "h": 253.333,
    "s": 63.158,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7524,
    "c": 0.10318,
    "h": 294
  },
  "luminance": 0.41246
}

Semantic roles & 50–950 ramp

primary
#B2A2EA
secondary
#ECF1DA
accent
#CB1BA4
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B2A2EA

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

Preview Lab → · Contrast checker → · Palette generator →

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