#B8A2DC#B8A2DC

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

Color values

HEX#B8A2DC
RGBrgb(184, 162, 220)
HSLhsl(263, 45%, 75%)
HSVhsv(263, 26%, 86%)
CMYKcmyk(16.4%, 26.4%, 0%, 13.7%)
CIE-LABlab(70.31, 19.39, -26.42)
CIE-LCHlch(70.31, 32.77, 306.27°)
OKLaboklab(75.16% 0.0448 -0.0724)
OKLCHoklch(75.16% 0.085 301.8)
XYZxyz(45.6031, 41.1983, 73.2458)
Luminance0.4120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A2DC #C6DCA2
analogous
#A2A9DC #B8A2DC #D5A2DC
triadic
#B8A2DC #DCB8A2 #A2DCB8
tetradic
#B8A2DC #DCA2A9 #C6DCA2 #A2DCD5
square
#B8A2DC #DCA2A9 #C6DCA2 #A2DCD5
split-complementary
#B8A2DC #DCD5A2 #A9DCA2
monochromatic
#7449BB #9676CB #B8A2DC #DACEED #EEE9F7

Accessibility & contrast

On white

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

On black

9.24
#B8A2DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A2DC
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A2DC#FFFFFF#000000##000000
##B8A2DC1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96ACDE
Deuteranopia (green-blind)
#9AACDA
Tritanopia (blue-blind)
#B2AAB6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b8a2dc;
/* rgb */ color: rgb(184, 162, 220);
/* oklch */ color: oklch(75.2% 0.085 301.8);
Tailwind
colors: {
  custom: {
    50: '#cebde7',
    500: '#b8a2dc',
    950: '#000000',
  },
}
SCSS
$custom: #b8a2dc;
$custom-light: #cebde7;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a2dc",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 220
  },
  "hsl": {
    "h": 262.759,
    "s": 45.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.75159,
    "c": 0.08515,
    "h": 301.8
  },
  "luminance": 0.41198
}

Semantic roles & 50–950 ramp

primary
#B8A2DC
secondary
#E7EEDD
accent
#B82D84
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B8A2DC

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

Preview Lab → · Contrast checker → · Palette generator →

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