#B8A0EB#B8A0EB

#B8A0EB is a light, moderate violet. Relative luminance 0.413; OKLCH L 75.4% C 0.108 H 298.5°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#B8A0EB
RGBrgb(184, 160, 235)
HSLhsl(259, 65%, 77%)
HSVhsv(259, 32%, 92%)
CMYKcmyk(21.7%, 31.9%, 0%, 7.8%)
CIE-LABlab(70.41, 23.87, -34.50)
CIE-LCHlch(70.41, 41.95, 304.68°)
OKLaboklab(75.42% 0.0517 -0.0954)
OKLCHoklch(75.42% 0.108 298.5)
XYZxyz(47.3300, 41.3299, 84.0651)
Luminance0.4133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A0EB #D3EBA0
analogous
#A0AEEB #B8A0EB #DDA0EB
triadic
#B8A0EB #EBB8A0 #A0EBB8
tetradic
#B8A0EB #EBA0AE #D3EBA0 #A0EBDD
square
#B8A0EB #EBA0AE #D3EBA0 #A0EBDD
split-complementary
#B8A0EB #EBDDA0 #AEEBA0
monochromatic
#6C3BD6 #926DE0 #B8A0EB #DED3F6 #ECE6FA

Accessibility & contrast

On white

2.27
#B8A0EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#B8A0EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A0EB
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A0EB#FFFFFF#000000##000000
##B8A0EB1.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FACEE
Deuteranopia (green-blind)
#92ACE9
Tritanopia (blue-blind)
#AFACBB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b8a0eb;
/* rgb */ color: rgb(184, 160, 235);
/* oklch */ color: oklch(75.4% 0.108 298.5);
Tailwind
colors: {
  custom: {
    50: '#cebcf1',
    500: '#b8a0eb',
    950: '#000000',
  },
}
SCSS
$custom: #b8a0eb;
$custom-light: #cebcf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a0eb",
  "rgb": {
    "r": 184,
    "g": 160,
    "b": 235
  },
  "hsl": {
    "h": 259.2,
    "s": 65.217,
    "l": 77.451
  },
  "oklch": {
    "l": 0.7542,
    "c": 0.10848,
    "h": 298.5
  },
  "luminance": 0.4133
}

Semantic roles & 50–950 ramp

primary
#B8A0EB
secondary
#EAF1DA
accent
#CD1893
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #B8A0EB

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

Preview Lab → · Contrast checker → · Palette generator →

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