#B8A2EF#B8A2EF

#B8A2EF is a light, moderate violet. Relative luminance 0.423; OKLCH L 76.0% C 0.111 H 296.8°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#B8A2EF
RGBrgb(184, 162, 239)
HSLhsl(257, 71%, 79%)
HSVhsv(257, 32%, 94%)
CMYKcmyk(23%, 32.2%, 0%, 6.3%)
CIE-LABlab(71.05, 23.68, -35.68)
CIE-LCHlch(71.05, 42.82, 303.57°)
OKLaboklab(75.97% 0.0499 -0.0988)
OKLCHoklch(75.97% 0.111 296.8)
XYZxyz(48.2639, 42.2626, 87.2594)
Luminance0.4226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A2EF #D9EFA2
analogous
#A2B2EF #B8A2EF #DEA2EF
triadic
#B8A2EF #EFB8A2 #A2EFB8
tetradic
#B8A2EF #EFA2B2 #D9EFA2 #A2EFDE
square
#B8A2EF #EFA2B2 #D9EFA2 #A2EFDE
split-complementary
#B8A2EF #EFDEA2 #B2EFA2
monochromatic
#683ADD #906EE6 #B8A2EF #E0D6F8 #EBE5FB

Accessibility & contrast

On white

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

On black

9.45
#B8A2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A2EF
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A2EF#FFFFFF#000000##000000
##B8A2EF1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAEF2
Deuteranopia (green-blind)
#93ADED
Tritanopia (blue-blind)
#ADAFBE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b8a2ef;
/* rgb */ color: rgb(184, 162, 239);
/* oklch */ color: oklch(76.0% 0.111 296.8);
Tailwind
colors: {
  custom: {
    50: '#cebdf4',
    500: '#b8a2ef',
    950: '#000000',
  },
}
SCSS
$custom: #b8a2ef;
$custom-light: #cebdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a2ef",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 257.143,
    "s": 70.642,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75968,
    "c": 0.11066,
    "h": 296.8
  },
  "luminance": 0.42263
}

Semantic roles & 50–950 ramp

primary
#B8A2EF
secondary
#EBF2D9
accent
#D3139C
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #B8A2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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