#B2A2E2#B2A2E2

#B2A2E2 is a light, moderate violet. Relative luminance 0.408; OKLCH L 74.9% C 0.092 H 295.6°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#B2A2E2
RGBrgb(178, 162, 226)
HSLhsl(255, 52%, 76%)
HSVhsv(255, 28%, 89%)
CMYKcmyk(21.2%, 28.3%, 0%, 11.4%)
CIE-LABlab(70.03, 18.88, -30.19)
CIE-LCHlch(70.03, 35.61, 302.02°)
OKLaboklab(74.89% 0.0398 -0.0832)
OKLCHoklch(74.89% 0.092 295.6)
XYZxyz(45.0048, 40.7962, 77.4402)
Luminance0.4080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A2E2 #D2E2A2
analogous
#A2B2E2 #B2A2E2 #D2A2E2
triadic
#B2A2E2 #E2B2A2 #A2E2B2
tetradic
#B2A2E2 #E2A2B2 #D2E2A2 #A2E2D2
square
#B2A2E2 #E2A2B2 #D2E2A2 #A2E2D2
split-complementary
#B2A2E2 #E2D2A2 #B2E2A2
monochromatic
#6545C5 #8B73D3 #B2A2E2 #D9D1F1 #ECE8F8

Accessibility & contrast

On white

2.29
#B2A2E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#B2A2E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A2E2
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A2E2#FFFFFF#000000##000000
##B2A2E21.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93ACE5
Deuteranopia (green-blind)
#95AAE0
Tritanopia (blue-blind)
#A9ACB9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b2a2e2;
/* rgb */ color: rgb(178, 162, 226);
/* oklch */ color: oklch(74.9% 0.092 295.6);
Tailwind
colors: {
  custom: {
    50: '#cabdeb',
    500: '#b2a2e2',
    950: '#000000',
  },
}
SCSS
$custom: #b2a2e2;
$custom-light: #cabdeb;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a2e2",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 226
  },
  "hsl": {
    "h": 255,
    "s": 52.459,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74894,
    "c": 0.09221,
    "h": 295.6
  },
  "luminance": 0.40797
}

Semantic roles & 50–950 ramp

primary
#B2A2E2
secondary
#EAEFDC
accent
#C02699
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B2A2E2

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

Preview Lab → · Contrast checker → · Palette generator →

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