#B8A2EE#B8A2EE

#B8A2EE is a light, moderate violet. Relative luminance 0.422; OKLCH L 75.9% C 0.109 H 297.0°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#B8A2EE
RGBrgb(184, 162, 238)
HSLhsl(257, 69%, 78%)
HSVhsv(257, 32%, 93%)
CMYKcmyk(22.7%, 31.9%, 0%, 6.7%)
CIE-LABlab(71.01, 23.45, -35.20)
CIE-LCHlch(71.01, 42.29, 303.67°)
OKLaboklab(75.92% 0.0497 -0.0974)
OKLCHoklch(75.92% 0.109 297)
XYZxyz(48.1166, 42.2037, 86.4835)
Luminance0.4220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A2EE #D8EEA2
analogous
#A2B2EE #B8A2EE #DEA2EE
triadic
#B8A2EE #EEB8A2 #A2EEB8
tetradic
#B8A2EE #EEA2B2 #D8EEA2 #A2EEDE
square
#B8A2EE #EEA2B2 #D8EEA2 #A2EEDE
split-complementary
#B8A2EE #EEDEA2 #B2EEA2
monochromatic
#693BDB #906EE5 #B8A2EE #E0D6F7 #EBE5FA

Accessibility & contrast

On white

2.22
#B8A2EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#B8A2EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A2EE
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A2EE#FFFFFF#000000##000000
##B8A2EE1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AEF1
Deuteranopia (green-blind)
#93ADEC
Tritanopia (blue-blind)
#AEAEBE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b8a2ee;
/* rgb */ color: rgb(184, 162, 238);
/* oklch */ color: oklch(75.9% 0.109 297.0);
Tailwind
colors: {
  custom: {
    50: '#cebdf3',
    500: '#b8a2ee',
    950: '#000000',
  },
}
SCSS
$custom: #b8a2ee;
$custom-light: #cebdf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a2ee",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 238
  },
  "hsl": {
    "h": 257.368,
    "s": 69.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.75923,
    "c": 0.10931,
    "h": 297
  },
  "luminance": 0.42204
}

Semantic roles & 50–950 ramp

primary
#B8A2EE
secondary
#EBF2D9
accent
#D1149A
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #B8A2EE

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

Preview Lab → · Contrast checker → · Palette generator →

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