#B3A5E2#B3A5E2

#B3A5E2 is a light, moderate violet. Relative luminance 0.420; OKLCH L 75.6% C 0.088 H 294.7°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#B3A5E2
RGBrgb(179, 165, 226)
HSLhsl(254, 51%, 77%)
HSVhsv(254, 27%, 89%)
CMYKcmyk(20.8%, 27%, 0%, 11.4%)
CIE-LABlab(70.86, 17.51, -28.91)
CIE-LCHlch(70.86, 33.80, 301.20°)
OKLaboklab(75.55% 0.0367 -0.0795)
OKLCHoklch(75.55% 0.088 294.7)
XYZxyz(45.7699, 41.9845, 77.6292)
Luminance0.4199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A5E2 #D4E2A5
analogous
#A5B6E2 #B3A5E2 #D2A5E2
triadic
#B3A5E2 #E2B3A5 #A5E2B3
tetradic
#B3A5E2 #E2A5B6 #D4E2A5 #A5E2D2
square
#B3A5E2 #E2A5B6 #D4E2A5 #A5E2D2
split-complementary
#B3A5E2 #E2D2A5 #B6E2A5
monochromatic
#6548C4 #8C77D3 #B3A5E2 #DAD3F1 #EBE8F8

Accessibility & contrast

On white

2.23
#B3A5E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#B3A5E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A5E2
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A5E2#FFFFFF#000000##000000
##B3A5E21.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97AEE5
Deuteranopia (green-blind)
#98ADE0
Tritanopia (blue-blind)
#AAAFBA
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b3a5e2;
/* rgb */ color: rgb(179, 165, 226);
/* oklch */ color: oklch(75.6% 0.088 294.7);
Tailwind
colors: {
  custom: {
    50: '#cabfeb',
    500: '#b3a5e2',
    950: '#000000',
  },
}
SCSS
$custom: #b3a5e2;
$custom-light: #cabfeb;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a5e2",
  "rgb": {
    "r": 179,
    "g": 165,
    "b": 226
  },
  "hsl": {
    "h": 253.77,
    "s": 51.261,
    "l": 76.667
  },
  "oklch": {
    "l": 0.75551,
    "c": 0.08757,
    "h": 294.7
  },
  "luminance": 0.41985
}

Semantic roles & 50–950 ramp

primary
#B3A5E2
secondary
#EAEFDC
accent
#BF279C
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B3A5E2

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

Preview Lab → · Contrast checker → · Palette generator →

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