#B5A8EA#B5A8EA

#B5A8EA is a light, moderate violet. Relative luminance 0.438; OKLCH L 76.6% C 0.094 H 293.1°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#B5A8EA
RGBrgb(181, 168, 234)
HSLhsl(252, 61%, 79%)
HSVhsv(252, 28%, 92%)
CMYKcmyk(22.6%, 28.2%, 0%, 8.2%)
CIE-LABlab(72.07, 18.28, -31.40)
CIE-LCHlch(72.07, 36.33, 300.22°)
OKLaboklab(76.63% 0.0369 -0.0866)
OKLCHoklch(76.63% 0.094 293.1)
XYZxyz(47.9065, 43.7690, 83.7503)
Luminance0.4377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A8EA #DDEAA8
analogous
#A8BCEA #B5A8EA #D6A8EA
triadic
#B5A8EA #EAB5A8 #A8EAB5
tetradic
#B5A8EA #EAA8BC #DDEAA8 #A8EAD6
square
#B5A8EA #EAA8BC #DDEAA8 #A8EAD6
split-complementary
#B5A8EA #EAD6A8 #BCEAA8
monochromatic
#6145D2 #8B77DE #B5A8EA #DFD9F6 #EAE6F9

Accessibility & contrast

On white

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

On black

9.75
#B5A8EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A8EA
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A8EA#FFFFFF#000000##000000
##B5A8EA1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B2ED
Deuteranopia (green-blind)
#99B0E8
Tritanopia (blue-blind)
#AAB3BF
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b5a8ea;
/* rgb */ color: rgb(181, 168, 234);
/* oklch */ color: oklch(76.6% 0.094 293.1);
Tailwind
colors: {
  custom: {
    50: '#ccc1f1',
    500: '#b5a8ea',
    950: '#000000',
  },
}
SCSS
$custom: #b5a8ea;
$custom-light: #ccc1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a8ea",
  "rgb": {
    "r": 181,
    "g": 168,
    "b": 234
  },
  "hsl": {
    "h": 251.818,
    "s": 61.111,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76627,
    "c": 0.09411,
    "h": 293.1
  },
  "luminance": 0.4377
}

Semantic roles & 50–950 ramp

primary
#B5A8EA
secondary
#ECF0DB
accent
#C91DA7
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B5A8EA

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

Preview Lab → · Contrast checker → · Palette generator →

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