#B8A2EB#B8A2EB

#B8A2EB is a light, moderate violet. Relative luminance 0.420; OKLCH L 75.8% C 0.105 H 297.7°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#B8A2EB
RGBrgb(184, 162, 235)
HSLhsl(258, 65%, 78%)
HSVhsv(258, 31%, 92%)
CMYKcmyk(21.7%, 31.1%, 0%, 7.8%)
CIE-LABlab(70.89, 22.75, -33.75)
CIE-LCHlch(70.89, 40.70, 303.99°)
OKLaboklab(75.79% 0.0489 -0.0932)
OKLCHoklch(75.79% 0.105 297.7)
XYZxyz(47.6795, 42.0289, 84.1816)
Luminance0.4203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A2EB #D5EBA2
analogous
#A2B0EB #B8A2EB #DCA2EB
triadic
#B8A2EB #EBB8A2 #A2EBB8
tetradic
#B8A2EB #EBA2B0 #D5EBA2 #A2EBDC
square
#B8A2EB #EBA2B0 #D5EBA2 #A2EBDC
split-complementary
#B8A2EB #EBDCA2 #B0EBA2
monochromatic
#6B3DD5 #9270E0 #B8A2EB #DED4F6 #ECE6FA

Accessibility & contrast

On white

2.23
#B8A2EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#B8A2EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A2EB
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A2EB#FFFFFF#000000##000000
##B8A2EB1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AEEE
Deuteranopia (green-blind)
#94ADE9
Tritanopia (blue-blind)
#AEAEBC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b8a2eb;
/* rgb */ color: rgb(184, 162, 235);
/* oklch */ color: oklch(75.8% 0.105 297.7);
Tailwind
colors: {
  custom: {
    50: '#cebdf1',
    500: '#b8a2eb',
    950: '#000000',
  },
}
SCSS
$custom: #b8a2eb;
$custom-light: #cebdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a2eb",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 235
  },
  "hsl": {
    "h": 258.082,
    "s": 64.602,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75791,
    "c": 0.10527,
    "h": 297.7
  },
  "luminance": 0.42029
}

Semantic roles & 50–950 ramp

primary
#B8A2EB
secondary
#EAF1DA
accent
#CC1996
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #B8A2EB

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

Preview Lab → · Contrast checker → · Palette generator →

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