#B2AFF7#B2AFF7

#B2AFF7 is a light, moderate blue. Relative luminance 0.468; OKLCH L 78.3% C 0.102 H 285.7°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#B2AFF7
RGBrgb(178, 175, 247)
HSLhsl(243, 82%, 83%)
HSVhsv(243, 29%, 97%)
CMYKcmyk(27.9%, 29.1%, 0%, 3.1%)
CIE-LABlab(74.09, 16.59, -35.36)
CIE-LCHlch(74.09, 39.06, 295.14°)
OKLaboklab(78.29% 0.0275 -0.098)
OKLCHoklch(78.29% 0.102 285.7)
XYZxyz(50.4742, 46.8392, 94.3592)
Luminance0.4684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AFF7 #F4F7AF
analogous
#AFD0F7 #B2AFF7 #D6AFF7
triadic
#B2AFF7 #F7B2AF #AFF7B2
tetradic
#B2AFF7 #F7AFD0 #F4F7AF #AFF7D6
square
#B2AFF7 #F7AFD0 #F4F7AF #AFF7D6
split-complementary
#B2AFF7 #F7D6AF #D0F7AF
monochromatic
#4740EC #7C77F1 #B2AFF7 #E4E3FC #E4E3FC

Accessibility & contrast

On white

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

On black

10.37
#B2AFF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AFF7
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AFF7#FFFFFF#000000##000000
##B2AFF71.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB8FA
Deuteranopia (green-blind)
#99B4F5
Tritanopia (blue-blind)
#A2BCC9
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b2aff7;
/* rgb */ color: rgb(178, 175, 247);
/* oklch */ color: oklch(78.3% 0.102 285.7);
Tailwind
colors: {
  custom: {
    50: '#cac6fa',
    500: '#b2aff7',
    950: '#000000',
  },
}
SCSS
$custom: #b2aff7;
$custom-light: #cac6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aff7",
  "rgb": {
    "r": 178,
    "g": 175,
    "b": 247
  },
  "hsl": {
    "h": 242.5,
    "s": 81.818,
    "l": 82.745
  },
  "oklch": {
    "l": 0.7829,
    "c": 0.10177,
    "h": 285.7
  },
  "luminance": 0.4684
}

Semantic roles & 50–950 ramp

primary
#B2AFF7
secondary
#F3F4D7
accent
#DE07D5
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131317
muted
#828285

Preview Lab

Preview with #B2AFF7

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

Preview Lab → · Contrast checker → · Palette generator →

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