#B8A7EB#B8A7EB

#B8A7EB is a light, moderate violet. Relative luminance 0.438; OKLCH L 76.7% C 0.097 H 295.5°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#B8A7EB
RGBrgb(184, 167, 235)
HSLhsl(255, 63%, 79%)
HSVhsv(255, 29%, 92%)
CMYKcmyk(21.7%, 28.9%, 0%, 7.8%)
CIE-LABlab(72.11, 19.97, -31.86)
CIE-LCHlch(72.11, 37.60, 302.08°)
OKLaboklab(76.73% 0.0419 -0.0879)
OKLCHoklch(76.73% 0.097 295.5)
XYZxyz(48.5779, 43.8255, 84.4810)
Luminance0.4383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A7EB #DAEBA7
analogous
#A7B8EB #B8A7EB #DAA7EB
triadic
#B8A7EB #EBB8A7 #A7EBB8
tetradic
#B8A7EB #EBA7B8 #DAEBA7 #A7EBDA
square
#B8A7EB #EBA7B8 #DAEBA7 #A7EBDA
split-complementary
#B8A7EB #EBDAA7 #B8EBA7
monochromatic
#6843D4 #9075E0 #B8A7EB #E0D9F6 #EBE6F9

Accessibility & contrast

On white

2.15
#B8A7EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#B8A7EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A7EB
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A7EB#FFFFFF#000000##000000
##B8A7EB1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B1EE
Deuteranopia (green-blind)
#99B0E9
Tritanopia (blue-blind)
#AEB2BF
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b8a7eb;
/* rgb */ color: rgb(184, 167, 235);
/* oklch */ color: oklch(76.7% 0.097 295.5);
Tailwind
colors: {
  custom: {
    50: '#cec1f1',
    500: '#b8a7eb',
    950: '#000000',
  },
}
SCSS
$custom: #b8a7eb;
$custom-light: #cec1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a7eb",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 235
  },
  "hsl": {
    "h": 255,
    "s": 62.963,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76729,
    "c": 0.09734,
    "h": 295.5
  },
  "luminance": 0.43826
}

Semantic roles & 50–950 ramp

primary
#B8A7EB
secondary
#EBF1DA
accent
#CB1B9F
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #B8A7EB

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

Preview Lab → · Contrast checker → · Palette generator →

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