#B8A8EA#B8A8EA

#B8A8EA is a light, moderate violet. Relative luminance 0.441; OKLCH L 76.9% C 0.094 H 295.2°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#B8A8EA
RGBrgb(184, 168, 234)
HSLhsl(255, 61%, 79%)
HSVhsv(255, 28%, 92%)
CMYKcmyk(21.4%, 28.2%, 0%, 8.2%)
CIE-LABlab(72.32, 19.19, -31.00)
CIE-LCHlch(72.32, 36.46, 301.76°)
OKLaboklab(76.88% 0.0402 -0.0854)
OKLCHoklch(76.88% 0.094 295.2)
XYZxyz(48.6177, 44.1357, 83.7836)
Luminance0.4414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A8EA #DAEAA8
analogous
#A8B9EA #B8A8EA #D9A8EA
triadic
#B8A8EA #EAB8A8 #A8EAB8
tetradic
#B8A8EA #EAA8B9 #DAEAA8 #A8EAD9
square
#B8A8EA #EAA8B9 #DAEAA8 #A8EAD9
split-complementary
#B8A8EA #EAD9A8 #B9EAA8
monochromatic
#6845D2 #9077DE #B8A8EA #E0D9F6 #EBE6F9

Accessibility & contrast

On white

2.14
#B8A8EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#B8A8EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A8EA
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A8EA#FFFFFF#000000##000000
##B8A8EA1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B2ED
Deuteranopia (green-blind)
#9BB0E8
Tritanopia (blue-blind)
#AEB3BF
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b8a8ea;
/* rgb */ color: rgb(184, 168, 234);
/* oklch */ color: oklch(76.9% 0.094 295.2);
Tailwind
colors: {
  custom: {
    50: '#cec1f1',
    500: '#b8a8ea',
    950: '#000000',
  },
}
SCSS
$custom: #b8a8ea;
$custom-light: #cec1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a8ea",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 234
  },
  "hsl": {
    "h": 254.545,
    "s": 61.111,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76876,
    "c": 0.09439,
    "h": 295.2
  },
  "luminance": 0.44136
}

Semantic roles & 50–950 ramp

primary
#B8A8EA
secondary
#EBF0DB
accent
#C91D9F
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #B8A8EA

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

Preview Lab → · Contrast checker → · Palette generator →

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