#B2AFEE#B2AFEE

#B2AFEE is a light, moderate blue. Relative luminance 0.463; OKLCH L 77.9% C 0.089 H 286.3°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#B2AFEE
RGBrgb(178, 175, 238)
HSLhsl(243, 65%, 81%)
HSVhsv(243, 26%, 93%)
CMYKcmyk(25.2%, 26.5%, 0%, 6.7%)
CIE-LABlab(73.74, 14.44, -31.02)
CIE-LCHlch(73.74, 34.22, 294.96°)
OKLaboklab(77.91% 0.0251 -0.0856)
OKLCHoklch(77.91% 0.089 286.3)
XYZxyz(49.1188, 46.2970, 87.2207)
Luminance0.4630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AFEE #EBEEAF
analogous
#AFCBEE #B2AFEE #D1AFEE
triadic
#B2AFEE #EEB2AF #AFEEB2
tetradic
#B2AFEE #EEAFCB #EBEEAF #AFEED1
square
#B2AFEE #EEAFCB #EBEEAF #AFEED1
split-complementary
#B2AFEE #EED1AF #CBEEAF
monochromatic
#514AD9 #817DE3 #B2AFEE #E3E1F9 #E7E6FA

Accessibility & contrast

On white

2.05
#B2AFEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#B2AFEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AFEE
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AFEE#FFFFFF#000000##000000
##B2AFEE1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB7F1
Deuteranopia (green-blind)
#9DB3EC
Tritanopia (blue-blind)
#A4BAC5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b2afee;
/* rgb */ color: rgb(178, 175, 238);
/* oklch */ color: oklch(77.9% 0.089 286.3);
Tailwind
colors: {
  custom: {
    50: '#cac6f3',
    500: '#b2afee',
    950: '#000000',
  },
}
SCSS
$custom: #b2afee;
$custom-light: #cac6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b2afee",
  "rgb": {
    "r": 178,
    "g": 175,
    "b": 238
  },
  "hsl": {
    "h": 242.857,
    "s": 64.948,
    "l": 80.98
  },
  "oklch": {
    "l": 0.77905,
    "c": 0.08919,
    "h": 286.3
  },
  "luminance": 0.46298
}

Semantic roles & 50–950 ramp

primary
#B2AFEE
secondary
#F0F1DA
accent
#CD19C4
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131317
muted
#828285

Preview Lab

Preview with #B2AFEE

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

Preview Lab → · Contrast checker → · Palette generator →

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