#B7AFF4#B7AFF4

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

Color values

HEX#B7AFF4
RGBrgb(183, 175, 244)
HSLhsl(247, 76%, 82%)
HSVhsv(247, 28%, 96%)
CMYKcmyk(25%, 28.3%, 0%, 4.3%)
CIE-LABlab(74.35, 17.33, -33.29)
CIE-LCHlch(74.35, 37.53, 297.50°)
OKLaboklab(78.55% 0.0321 -0.092)
OKLCHoklch(78.55% 0.097 289.3)
XYZxyz(51.1835, 47.2580, 91.9955)
Luminance0.4726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AFF4 #ECF4AF
analogous
#AFC9F4 #B7AFF4 #DAAFF4
triadic
#B7AFF4 #F4B7AF #AFF4B7
tetradic
#B7AFF4 #F4AFC9 #ECF4AF #AFF4DA
square
#B7AFF4 #F4AFC9 #ECF4AF #AFF4DA
split-complementary
#B7AFF4 #F4DAAF #C9F4AF
monochromatic
#5643E5 #8779ED #B7AFF4 #E7E4FB #E7E4FB

Accessibility & contrast

On white

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

On black

10.45
#B7AFF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AFF4
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AFF4#FFFFFF#000000##000000
##B7AFF41.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB8F7
Deuteranopia (green-blind)
#9DB5F2
Tritanopia (blue-blind)
#AABBC7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b7aff4;
/* rgb */ color: rgb(183, 175, 244);
/* oklch */ color: oklch(78.6% 0.097 289.3);
Tailwind
colors: {
  custom: {
    50: '#cdc6f8',
    500: '#b7aff4',
    950: '#000000',
  },
}
SCSS
$custom: #b7aff4;
$custom-light: #cdc6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b7aff4",
  "rgb": {
    "r": 183,
    "g": 175,
    "b": 244
  },
  "hsl": {
    "h": 246.957,
    "s": 75.824,
    "l": 82.157
  },
  "oklch": {
    "l": 0.78552,
    "c": 0.09743,
    "h": 289.3
  },
  "luminance": 0.47259
}

Semantic roles & 50–950 ramp

primary
#B7AFF4
secondary
#F0F3D8
accent
#D80DC1
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141317
muted
#828285

Preview Lab

Preview with #B7AFF4

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

Preview Lab → · Contrast checker → · Palette generator →

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