#B4AFF2#B4AFF2

#B4AFF2 is a light, moderate blue. Relative luminance 0.468; OKLCH L 78.2% C 0.095 H 287.4°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#B4AFF2
RGBrgb(180, 175, 242)
HSLhsl(244, 72%, 82%)
HSVhsv(244, 28%, 95%)
CMYKcmyk(25.6%, 27.7%, 0%, 5.1%)
CIE-LABlab(74.04, 15.98, -32.71)
CIE-LCHlch(74.04, 36.40, 296.03°)
OKLaboklab(78.23% 0.0283 -0.0904)
OKLCHoklch(78.23% 0.095 287.4)
XYZxyz(50.1754, 46.7731, 90.3718)
Luminance0.4677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AFF2 #EDF2AF
analogous
#AFCCF2 #B4AFF2 #D6AFF2
triadic
#B4AFF2 #F2B4AF #AFF2B4
tetradic
#B4AFF2 #F2AFCC #EDF2AF #AFF2D6
square
#B4AFF2 #F2AFCC #EDF2AF #AFF2D6
split-complementary
#B4AFF2 #F2D6AF #CCF2AF
monochromatic
#5146E1 #837AE9 #B4AFF2 #E5E4FB #E6E5FB

Accessibility & contrast

On white

2.03
#B4AFF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#B4AFF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AFF2
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AFF2#FFFFFF#000000##000000
##B4AFF21.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB8F5
Deuteranopia (green-blind)
#9CB4F0
Tritanopia (blue-blind)
#A6BBC7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b4aff2;
/* rgb */ color: rgb(180, 175, 242);
/* oklch */ color: oklch(78.2% 0.095 287.4);
Tailwind
colors: {
  custom: {
    50: '#cbc6f6',
    500: '#b4aff2',
    950: '#000000',
  },
}
SCSS
$custom: #b4aff2;
$custom-light: #cbc6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b4aff2",
  "rgb": {
    "r": 180,
    "g": 175,
    "b": 242
  },
  "hsl": {
    "h": 244.478,
    "s": 72.043,
    "l": 81.765
  },
  "oklch": {
    "l": 0.7823,
    "c": 0.0947,
    "h": 287.4
  },
  "luminance": 0.46774
}

Semantic roles & 50–950 ramp

primary
#B4AFF2
secondary
#F0F2D9
accent
#D411C6
background
#FCFCFF
surface
#F9F8FE
border
#D2D1D6
text
#131317
muted
#828285

Preview Lab

Preview with #B4AFF2

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

Preview Lab → · Contrast checker → · Palette generator →

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