#B2A2E3#B2A2E3

#B2A2E3 is a light, moderate violet. Relative luminance 0.409; OKLCH L 74.9% C 0.094 H 295.3°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#B2A2E3
RGBrgb(178, 162, 227)
HSLhsl(255, 54%, 76%)
HSVhsv(255, 29%, 89%)
CMYKcmyk(21.6%, 28.6%, 0%, 11%)
CIE-LABlab(70.07, 19.11, -30.68)
CIE-LCHlch(70.07, 36.15, 301.92°)
OKLaboklab(74.94% 0.0401 -0.0846)
OKLCHoklch(74.94% 0.094 295.3)
XYZxyz(45.1424, 40.8513, 78.1650)
Luminance0.4085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A2E3 #D3E3A2
analogous
#A2B3E3 #B2A2E3 #D3A2E3
triadic
#B2A2E3 #E3B2A2 #A2E3B2
tetradic
#B2A2E3 #E3A2B3 #D3E3A2 #A2E3D3
square
#B2A2E3 #E3A2B3 #D3E3A2 #A2E3D3
split-complementary
#B2A2E3 #E3D3A2 #B3E3A2
monochromatic
#6444C7 #8B73D5 #B2A2E3 #D9D1F1 #ECE7F8

Accessibility & contrast

On white

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

On black

9.17
#B2A2E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A2E3
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A2E3#FFFFFF#000000##000000
##B2A2E31.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93ACE6
Deuteranopia (green-blind)
#95AAE1
Tritanopia (blue-blind)
#A8ACB9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b2a2e3;
/* rgb */ color: rgb(178, 162, 227);
/* oklch */ color: oklch(74.9% 0.094 295.3);
Tailwind
colors: {
  custom: {
    50: '#cabdec',
    500: '#b2a2e3',
    950: '#000000',
  },
}
SCSS
$custom: #b2a2e3;
$custom-light: #cabdec;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a2e3",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 227
  },
  "hsl": {
    "h": 254.769,
    "s": 53.719,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74936,
    "c": 0.09358,
    "h": 295.3
  },
  "luminance": 0.40852
}

Semantic roles & 50–950 ramp

primary
#B2A2E3
secondary
#EAEFDC
accent
#C1249B
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B2A2E3

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

Preview Lab → · Contrast checker → · Palette generator →

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