#B2AFFC#B2AFFC

#B2AFFC is a light, moderate blue. Relative luminance 0.472; OKLCH L 78.5% C 0.109 H 285.4°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#B2AFFC
RGBrgb(178, 175, 252)
HSLhsl(242, 93%, 84%)
HSVhsv(242, 31%, 99%)
CMYKcmyk(29.4%, 30.6%, 0%, 1.2%)
CIE-LABlab(74.29, 17.81, -37.75)
CIE-LCHlch(74.29, 41.74, 295.26°)
OKLaboklab(78.51% 0.0288 -0.1048)
OKLCHoklch(78.51% 0.109 285.4)
XYZxyz(51.2562, 47.1520, 98.4773)
Luminance0.4715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AFFC #F9FCAF
analogous
#AFD2FC #B2AFFC #D8AFFC
triadic
#B2AFFC #FCB2AF #AFFCB2
tetradic
#B2AFFC #FCAFD2 #F9FCAF #AFFCD8
square
#B2AFFC #FCAFD2 #F9FCAF #AFFCD8
split-complementary
#B2AFFC #FCD8AF #D2FCAF
monochromatic
#4039F8 #7974FA #B2AFFC #E3E2FE #E3E2FE

Accessibility & contrast

On white

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

On black

10.43
#B2AFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AFFC
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AFFC#FFFFFF#000000##000000
##B2AFFC1.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B9FF
Deuteranopia (green-blind)
#97B4FA
Tritanopia (blue-blind)
#A0BDCB
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b2affc;
/* rgb */ color: rgb(178, 175, 252);
/* oklch */ color: oklch(78.5% 0.109 285.4);
Tailwind
colors: {
  custom: {
    50: '#cac6fd',
    500: '#b2affc',
    950: '#000000',
  },
}
SCSS
$custom: #b2affc;
$custom-light: #cac6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b2affc",
  "rgb": {
    "r": 178,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 242.338,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.7851,
    "c": 0.10872,
    "h": 285.4
  },
  "luminance": 0.47153
}

Semantic roles & 50–950 ramp

primary
#B2AFFC
secondary
#F5F6D5
accent
#E600DD
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#131317
muted
#828285

Preview Lab

Preview with #B2AFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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