#B1A5E4#B1A5E4

#B1A5E4 is a light, moderate violet. Relative luminance 0.419; OKLCH L 75.5% C 0.090 H 292.8°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#B1A5E4
RGBrgb(177, 165, 228)
HSLhsl(251, 54%, 77%)
HSVhsv(251, 28%, 89%)
CMYKcmyk(22.4%, 27.6%, 0%, 10.6%)
CIE-LABlab(70.77, 17.36, -30.15)
CIE-LCHlch(70.77, 34.80, 299.93°)
OKLaboklab(75.47% 0.035 -0.0831)
OKLCHoklch(75.47% 0.09 292.8)
XYZxyz(45.5869, 41.8583, 79.0615)
Luminance0.4186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A5E4 #D8E4A5
analogous
#A5B9E4 #B1A5E4 #D1A5E4
triadic
#B1A5E4 #E4B1A5 #A5E4B1
tetradic
#B1A5E4 #E4A5B9 #D8E4A5 #A5E4D1
square
#B1A5E4 #E4A5B9 #D8E4A5 #A5E4D1
split-complementary
#B1A5E4 #E4D1A5 #B9E4A5
monochromatic
#5F47C8 #8876D6 #B1A5E4 #DAD4F2 #EBE7F8

Accessibility & contrast

On white

2.24
#B1A5E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#B1A5E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A5E4
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A5E4#FFFFFF#000000##000000
##B1A5E41.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#96AEE7
Deuteranopia (green-blind)
#97ACE2
Tritanopia (blue-blind)
#A7AFBB
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b1a5e4;
/* rgb */ color: rgb(177, 165, 228);
/* oklch */ color: oklch(75.5% 0.090 292.8);
Tailwind
colors: {
  custom: {
    50: '#c9bfec',
    500: '#b1a5e4',
    950: '#000000',
  },
}
SCSS
$custom: #b1a5e4;
$custom-light: #c9bfec;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a5e4",
  "rgb": {
    "r": 177,
    "g": 165,
    "b": 228
  },
  "hsl": {
    "h": 251.429,
    "s": 53.846,
    "l": 77.059
  },
  "oklch": {
    "l": 0.7547,
    "c": 0.09017,
    "h": 292.8
  },
  "luminance": 0.41859
}

Semantic roles & 50–950 ramp

primary
#B1A5E4
secondary
#EBEFDC
accent
#C124A3
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #B1A5E4

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

Preview Lab → · Contrast checker → · Palette generator →

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