#B2AFFF#B2AFFF

#B2AFFF is a light, moderate blue. Relative luminance 0.473; OKLCH L 78.6% C 0.113 H 285.2°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#B2AFFF
RGBrgb(178, 175, 255)
HSLhsl(242, 100%, 84%)
HSVhsv(242, 31%, 100%)
CMYKcmyk(30.2%, 31.4%, 0%, 0%)
CIE-LABlab(74.41, 18.55, -39.17)
CIE-LCHlch(74.41, 43.34, 295.34°)
OKLaboklab(78.64% 0.0296 -0.1089)
OKLCHoklch(78.64% 0.113 285.2)
XYZxyz(51.7353, 47.3436, 101.0008)
Luminance0.4734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AFFF #FCFFAF
analogous
#AFD4FF #B2AFFF #DAAFFF
triadic
#B2AFFF #FFB2AF #AFFFB2
tetradic
#B2AFFF #FFAFD4 #FCFFAF #AFFFDA
square
#B2AFFF #FFAFD4 #FCFFAF #AFFFDA
split-complementary
#B2AFFF #FFDAAF #D4FFAF
monochromatic
#3C35FF #7772FF #B2AFFF #E2E0FF #E2E0FF

Accessibility & contrast

On white

2.01
#B2AFFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#B2AFFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AFFF
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AFFF#FFFFFF#000000##000000
##B2AFFF1.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B9FF
Deuteranopia (green-blind)
#96B5FD
Tritanopia (blue-blind)
#9FBDCC
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b2afff;
/* rgb */ color: rgb(178, 175, 255);
/* oklch */ color: oklch(78.6% 0.113 285.2);
Tailwind
colors: {
  custom: {
    50: '#cbc6ff',
    500: '#b2afff',
    950: '#000000',
  },
}
SCSS
$custom: #b2afff;
$custom-light: #cbc6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b2afff",
  "rgb": {
    "r": 178,
    "g": 175,
    "b": 255
  },
  "hsl": {
    "h": 242.25,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.78644,
    "c": 0.11287,
    "h": 285.2
  },
  "luminance": 0.47345
}

Semantic roles & 50–950 ramp

primary
#B2AFFF
secondary
#F6F7D4
accent
#E600DD
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#131318
muted
#828286

Preview Lab

Preview with #B2AFFF

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

Preview Lab → · Contrast checker → · Palette generator →

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