#B5AFE8#B5AFE8

#B5AFE8 is a light, moderate blue. Relative luminance 0.463; OKLCH L 77.9% C 0.081 H 289.2°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#B5AFE8
RGBrgb(181, 175, 232)
HSLhsl(246, 55%, 80%)
HSVhsv(246, 25%, 91%)
CMYKcmyk(22%, 24.6%, 0%, 9%)
CIE-LABlab(73.75, 13.94, -27.74)
CIE-LCHlch(73.75, 31.04, 296.69°)
OKLaboklab(77.89% 0.0266 -0.0762)
OKLCHoklch(77.89% 0.081 289.2)
XYZxyz(48.9481, 46.3092, 82.6880)
Luminance0.4631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AFE8 #E2E8AF
analogous
#AFC6E8 #B5AFE8 #D2AFE8
triadic
#B5AFE8 #E8B5AF #AFE8B5
tetradic
#B5AFE8 #E8AFC6 #E2E8AF #AFE8D2
square
#B5AFE8 #E8AFC6 #E2E8AF #AFE8D2
split-complementary
#B5AFE8 #E8D2AF #C6E8AF
monochromatic
#5D50CD #897FDA #B5AFE8 #E1DFF6 #E9E7F8

Accessibility & contrast

On white

2.05
#B5AFE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#B5AFE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AFE8
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AFE8#FFFFFF#000000##000000
##B5AFE81.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1B6EA
Deuteranopia (green-blind)
#A1B4E6
Tritanopia (blue-blind)
#AAB8C3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b5afe8;
/* rgb */ color: rgb(181, 175, 232);
/* oklch */ color: oklch(77.9% 0.081 289.2);
Tailwind
colors: {
  custom: {
    50: '#ccc6ef',
    500: '#b5afe8',
    950: '#000000',
  },
}
SCSS
$custom: #b5afe8;
$custom-light: #ccc6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b5afe8",
  "rgb": {
    "r": 181,
    "g": 175,
    "b": 232
  },
  "hsl": {
    "h": 246.316,
    "s": 55.34,
    "l": 79.804
  },
  "oklch": {
    "l": 0.77894,
    "c": 0.08071,
    "h": 289.2
  },
  "luminance": 0.4631
}

Semantic roles & 50–950 ramp

primary
#B5AFE8
secondary
#EDEFDC
accent
#C323B2
background
#FCFCFE
surface
#F9F8FD
border
#D2D1D5
text
#131316
muted
#828284

Preview Lab

Preview with #B5AFE8

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

Preview Lab → · Contrast checker → · Palette generator →

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