#B8A5EB#B8A5EB

#B8A5EB is a light, moderate violet. Relative luminance 0.431; OKLCH L 76.4% C 0.101 H 296.4°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#B8A5EB
RGBrgb(184, 165, 235)
HSLhsl(256, 64%, 78%)
HSVhsv(256, 30%, 92%)
CMYKcmyk(21.7%, 29.8%, 0%, 7.8%)
CIE-LABlab(71.62, 21.08, -32.62)
CIE-LCHlch(71.62, 38.84, 302.88°)
OKLaboklab(76.35% 0.0447 -0.09)
OKLCHoklch(76.35% 0.101 296.4)
XYZxyz(48.2143, 43.0984, 84.3599)
Luminance0.4310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A5EB #D8EBA5
analogous
#A5B5EB #B8A5EB #DBA5EB
triadic
#B8A5EB #EBB8A5 #A5EBB8
tetradic
#B8A5EB #EBA5B5 #D8EBA5 #A5EBDB
square
#B8A5EB #EBA5B5 #D8EBA5 #A5EBDB
split-complementary
#B8A5EB #EBDBA5 #B5EBA5
monochromatic
#6941D5 #9073E0 #B8A5EB #E0D7F6 #EBE6F9

Accessibility & contrast

On white

2.18
#B8A5EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#B8A5EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A5EB
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A5EB#FFFFFF#000000##000000
##B8A5EB1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B0EE
Deuteranopia (green-blind)
#97AFE9
Tritanopia (blue-blind)
#AEB0BE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8a5eb;
/* rgb */ color: rgb(184, 165, 235);
/* oklch */ color: oklch(76.4% 0.101 296.4);
Tailwind
colors: {
  custom: {
    50: '#cebff1',
    500: '#b8a5eb',
    950: '#000000',
  },
}
SCSS
$custom: #b8a5eb;
$custom-light: #cebff1;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a5eb",
  "rgb": {
    "r": 184,
    "g": 165,
    "b": 235
  },
  "hsl": {
    "h": 256.286,
    "s": 63.636,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76352,
    "c": 0.1005,
    "h": 296.4
  },
  "luminance": 0.43099
}

Semantic roles & 50–950 ramp

primary
#B8A5EB
secondary
#EBF1DA
accent
#CB1A9B
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #B8A5EB

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

Preview Lab → · Contrast checker → · Palette generator →

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