#B5AFFE#B5AFFE

#B5AFFE is a light, moderate blue. Relative luminance 0.476; OKLCH L 78.8% C 0.111 H 287.0°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#B5AFFE
RGBrgb(181, 175, 254)
HSLhsl(245, 98%, 84%)
HSVhsv(245, 31%, 100%)
CMYKcmyk(28.7%, 31.1%, 0%, 0.4%)
CIE-LABlab(74.60, 19.15, -38.33)
CIE-LCHlch(74.60, 42.84, 296.54°)
OKLaboklab(78.83% 0.0326 -0.1064)
OKLCHoklch(78.83% 0.111 287)
XYZxyz(52.2708, 47.6383, 100.1879)
Luminance0.4764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AFFE #F8FEAF
analogous
#AFD1FE #B5AFFE #DDAFFE
triadic
#B5AFFE #FEB5AF #AFFEB5
tetradic
#B5AFFE #FEAFD1 #F8FEAF #AFFEDD
square
#B5AFFE #FEAFD1 #F8FEAF #AFFEDD
split-complementary
#B5AFFE #FEDDAF #D1FEAF
monochromatic
#4536FC #7D73FD #B5AFFE #E3E1FF #E3E1FF

Accessibility & contrast

On white

1.99
#B5AFFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#B5AFFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AFFE
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AFFE#FFFFFF#000000##000000
##B5AFFE1.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99BAFF
Deuteranopia (green-blind)
#98B5FC
Tritanopia (blue-blind)
#A4BDCB
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b5affe;
/* rgb */ color: rgb(181, 175, 254);
/* oklch */ color: oklch(78.8% 0.111 287.0);
Tailwind
colors: {
  custom: {
    50: '#cdc6ff',
    500: '#b5affe',
    950: '#000000',
  },
}
SCSS
$custom: #b5affe;
$custom-light: #cdc6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b5affe",
  "rgb": {
    "r": 181,
    "g": 175,
    "b": 254
  },
  "hsl": {
    "h": 244.557,
    "s": 97.531,
    "l": 84.118
  },
  "oklch": {
    "l": 0.78831,
    "c": 0.11131,
    "h": 287
  },
  "luminance": 0.47639
}

Semantic roles & 50–950 ramp

primary
#B5AFFE
secondary
#F4F7D4
accent
#E600D4
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#131318
muted
#828286

Preview Lab

Preview with #B5AFFE

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

Preview Lab → · Contrast checker → · Palette generator →

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