#B8A8EB#B8A8EB

#B8A8EB is a light, moderate violet. Relative luminance 0.442; OKLCH L 76.9% C 0.096 H 295.0°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#B8A8EB
RGBrgb(184, 168, 235)
HSLhsl(254, 63%, 79%)
HSVhsv(254, 29%, 92%)
CMYKcmyk(21.7%, 28.5%, 0%, 7.8%)
CIE-LABlab(72.36, 19.42, -31.48)
CIE-LCHlch(72.36, 36.99, 301.66°)
OKLaboklab(76.92% 0.0405 -0.0868)
OKLCHoklch(76.92% 0.096 295)
XYZxyz(48.7618, 44.1933, 84.5423)
Luminance0.4419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A8EB #DBEBA8
analogous
#A8BAEB #B8A8EB #DAA8EB
triadic
#B8A8EB #EBB8A8 #A8EBB8
tetradic
#B8A8EB #EBA8BA #DBEBA8 #A8EBDA
square
#B8A8EB #EBA8BA #DBEBA8 #A8EBDA
split-complementary
#B8A8EB #EBDAA8 #BAEBA8
monochromatic
#6744D4 #8F76E0 #B8A8EB #E1DAF6 #EBE6F9

Accessibility & contrast

On white

2.13
#B8A8EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#B8A8EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A8EB
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A8EB#FFFFFF#000000##000000
##B8A8EB1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B2EE
Deuteranopia (green-blind)
#9AB1E9
Tritanopia (blue-blind)
#AEB3C0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b8a8eb;
/* rgb */ color: rgb(184, 168, 235);
/* oklch */ color: oklch(76.9% 0.096 295.0);
Tailwind
colors: {
  custom: {
    50: '#cec1f1',
    500: '#b8a8eb',
    950: '#000000',
  },
}
SCSS
$custom: #b8a8eb;
$custom-light: #cec1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a8eb",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 235
  },
  "hsl": {
    "h": 254.328,
    "s": 62.617,
    "l": 79.02
  },
  "oklch": {
    "l": 0.76918,
    "c": 0.09576,
    "h": 295
  },
  "luminance": 0.44194
}

Semantic roles & 50–950 ramp

primary
#B8A8EB
secondary
#EBF1DA
accent
#CA1BA1
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #B8A8EB

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

Preview Lab → · Contrast checker → · Palette generator →

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