#B2AFF8#B2AFF8

#B2AFF8 is a light, moderate blue. Relative luminance 0.469; OKLCH L 78.3% C 0.103 H 285.6°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#B2AFF8
RGBrgb(178, 175, 248)
HSLhsl(242, 84%, 83%)
HSVhsv(242, 29%, 97%)
CMYKcmyk(28.2%, 29.4%, 0%, 2.7%)
CIE-LABlab(74.13, 16.84, -35.84)
CIE-LCHlch(74.13, 39.59, 295.16°)
OKLaboklab(78.33% 0.0278 -0.0993)
OKLCHoklch(78.33% 0.103 285.6)
XYZxyz(50.6290, 46.9011, 95.1741)
Luminance0.4690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AFF8 #F5F8AF
analogous
#AFD0F8 #B2AFF8 #D6AFF8
triadic
#B2AFF8 #F8B2AF #AFF8B2
tetradic
#B2AFF8 #F8AFD0 #F5F8AF #AFF8D6
square
#B2AFF8 #F8AFD0 #F5F8AF #AFF8D6
split-complementary
#B2AFF8 #F8D6AF #D0F8AF
monochromatic
#463EEE #7C77F3 #B2AFF8 #E4E3FD #E4E3FD

Accessibility & contrast

On white

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

On black

10.38
#B2AFF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AFF8
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AFF8#FFFFFF#000000##000000
##B2AFF81.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB8FB
Deuteranopia (green-blind)
#99B4F6
Tritanopia (blue-blind)
#A1BCC9
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b2aff8;
/* rgb */ color: rgb(178, 175, 248);
/* oklch */ color: oklch(78.3% 0.103 285.6);
Tailwind
colors: {
  custom: {
    50: '#cac6fa',
    500: '#b2aff8',
    950: '#000000',
  },
}
SCSS
$custom: #b2aff8;
$custom-light: #cac6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aff8",
  "rgb": {
    "r": 178,
    "g": 175,
    "b": 248
  },
  "hsl": {
    "h": 242.466,
    "s": 83.908,
    "l": 82.941
  },
  "oklch": {
    "l": 0.78333,
    "c": 0.10316,
    "h": 285.6
  },
  "luminance": 0.46902
}

Semantic roles & 50–950 ramp

primary
#B2AFF8
secondary
#F3F4D7
accent
#E005D7
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131317
muted
#828285

Preview Lab

Preview with #B2AFF8

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

Preview Lab → · Contrast checker → · Palette generator →

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