#B5AFF3#B5AFF3

#B5AFF3 is a light, moderate blue. Relative luminance 0.470; OKLCH L 78.4% C 0.096 H 288.0°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#B5AFF3
RGBrgb(181, 175, 243)
HSLhsl(245, 74%, 82%)
HSVhsv(245, 28%, 95%)
CMYKcmyk(25.5%, 28%, 0%, 4.7%)
CIE-LABlab(74.16, 16.51, -33.06)
CIE-LCHlch(74.16, 36.95, 296.53°)
OKLaboklab(78.35% 0.0297 -0.0914)
OKLCHoklch(78.35% 0.096 288)
XYZxyz(50.5597, 46.9538, 91.1759)
Luminance0.4696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AFF3 #EDF3AF
analogous
#AFCBF3 #B5AFF3 #D7AFF3
triadic
#B5AFF3 #F3B5AF #AFF3B5
tetradic
#B5AFF3 #F3AFCB #EDF3AF #AFF3D7
square
#B5AFF3 #F3AFCB #EDF3AF #AFF3D7
split-complementary
#B5AFF3 #F3D7AF #CBF3AF
monochromatic
#5345E3 #847AEB #B5AFF3 #E6E4FB #E6E4FB

Accessibility & contrast

On white

2.02
#B5AFF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#B5AFF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AFF3
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AFF3#FFFFFF#000000##000000
##B5AFF31.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB8F6
Deuteranopia (green-blind)
#9CB5F1
Tritanopia (blue-blind)
#A7BBC7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b5aff3;
/* rgb */ color: rgb(181, 175, 243);
/* oklch */ color: oklch(78.4% 0.096 288.0);
Tailwind
colors: {
  custom: {
    50: '#ccc6f7',
    500: '#b5aff3',
    950: '#000000',
  },
}
SCSS
$custom: #b5aff3;
$custom-light: #ccc6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b5aff3",
  "rgb": {
    "r": 181,
    "g": 175,
    "b": 243
  },
  "hsl": {
    "h": 245.294,
    "s": 73.913,
    "l": 81.961
  },
  "oklch": {
    "l": 0.78351,
    "c": 0.09607,
    "h": 288
  },
  "luminance": 0.46955
}

Semantic roles & 50–950 ramp

primary
#B5AFF3
secondary
#F0F3D8
accent
#D60FC5
background
#FCFCFF
surface
#F9F8FE
border
#D2D1D6
text
#131317
muted
#828285

Preview Lab

Preview with #B5AFF3

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

Preview Lab → · Contrast checker → · Palette generator →

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