#B3A7E5#B3A7E5

#B3A7E5 is a light, moderate violet. Relative luminance 0.429; OKLCH L 76.1% C 0.089 H 293.0°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#B3A7E5
RGBrgb(179, 167, 229)
HSLhsl(252, 54%, 78%)
HSVhsv(252, 27%, 90%)
CMYKcmyk(21.8%, 27.1%, 0%, 10.2%)
CIE-LABlab(71.47, 17.08, -29.61)
CIE-LCHlch(71.47, 34.18, 299.98°)
OKLaboklab(76.06% 0.0347 -0.0815)
OKLCHoklch(76.06% 0.089 293)
XYZxyz(46.5487, 42.8778, 79.9374)
Luminance0.4288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A7E5 #D9E5A7
analogous
#A7BAE5 #B3A7E5 #D2A7E5
triadic
#B3A7E5 #E5B3A7 #A7E5B3
tetradic
#B3A7E5 #E5A7BA #D9E5A7 #A7E5D2
square
#B3A7E5 #E5A7BA #D9E5A7 #A7E5D2
split-complementary
#B3A7E5 #E5D2A7 #BAE5A7
monochromatic
#6149C9 #8A78D7 #B3A7E5 #DCD6F3 #EBE7F8

Accessibility & contrast

On white

2.19
#B3A7E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#B3A7E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A7E5
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A7E5#FFFFFF#000000##000000
##B3A7E51.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B0E8
Deuteranopia (green-blind)
#99AEE3
Tritanopia (blue-blind)
#A9B1BD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b3a7e5;
/* rgb */ color: rgb(179, 167, 229);
/* oklch */ color: oklch(76.1% 0.089 293.0);
Tailwind
colors: {
  custom: {
    50: '#cac1ed',
    500: '#b3a7e5',
    950: '#000000',
  },
}
SCSS
$custom: #b3a7e5;
$custom-light: #cac1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a7e5",
  "rgb": {
    "r": 179,
    "g": 167,
    "b": 229
  },
  "hsl": {
    "h": 251.613,
    "s": 54.386,
    "l": 77.647
  },
  "oklch": {
    "l": 0.76061,
    "c": 0.0886,
    "h": 293
  },
  "luminance": 0.42878
}

Semantic roles & 50–950 ramp

primary
#B3A7E5
secondary
#EBEFDC
accent
#C224A3
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B3A7E5

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

Preview Lab → · Contrast checker → · Palette generator →

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