#B5A7E5#B5A7E5

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

Color values

HEX#B5A7E5
RGBrgb(181, 167, 229)
HSLhsl(254, 54%, 78%)
HSVhsv(254, 27%, 90%)
CMYKcmyk(21%, 27.1%, 0%, 10.2%)
CIE-LABlab(71.63, 17.69, -29.35)
CIE-LCHlch(71.63, 34.27, 301.08°)
OKLaboklab(76.23% 0.0369 -0.0807)
OKLCHoklch(76.23% 0.089 294.6)
XYZxyz(47.0144, 43.1179, 79.9592)
Luminance0.4312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A7E5 #D7E5A7
analogous
#A7B8E5 #B5A7E5 #D4A7E5
triadic
#B5A7E5 #E5B5A7 #A7E5B5
tetradic
#B5A7E5 #E5A7B8 #D7E5A7 #A7E5D4
square
#B5A7E5 #E5A7B8 #D7E5A7 #A7E5D4
split-complementary
#B5A7E5 #E5D4A7 #B8E5A7
monochromatic
#6649C9 #8D78D7 #B5A7E5 #DDD6F3 #EBE7F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5A7E5#FFFFFF#000000##000000
##B5A7E51.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)
#99B0E8
Deuteranopia (green-blind)
#9AAFE3
Tritanopia (blue-blind)
#ACB1BD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b5a7e5;
/* rgb */ color: rgb(181, 167, 229);
/* oklch */ color: oklch(76.2% 0.089 294.6);
Tailwind
colors: {
  custom: {
    50: '#ccc1ed',
    500: '#b5a7e5',
    950: '#000000',
  },
}
SCSS
$custom: #b5a7e5;
$custom-light: #ccc1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a7e5",
  "rgb": {
    "r": 181,
    "g": 167,
    "b": 229
  },
  "hsl": {
    "h": 253.548,
    "s": 54.386,
    "l": 77.647
  },
  "oklch": {
    "l": 0.76226,
    "c": 0.08878,
    "h": 294.6
  },
  "luminance": 0.43118
}

Semantic roles & 50–950 ramp

primary
#B5A7E5
secondary
#EBEFDC
accent
#C2249E
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B5A7E5

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

Preview Lab → · Contrast checker → · Palette generator →

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