#B7AFFE#B7AFFE

#B7AFFE is a light, moderate blue. Relative luminance 0.479; OKLCH L 79.0% C 0.111 H 288.2°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#B7AFFE
RGBrgb(183, 175, 254)
HSLhsl(246, 98%, 84%)
HSVhsv(246, 31%, 100%)
CMYKcmyk(28%, 31.1%, 0%, 0.4%)
CIE-LABlab(74.75, 19.71, -38.08)
CIE-LCHlch(74.75, 42.88, 297.37°)
OKLaboklab(78.99% 0.0348 -0.1057)
OKLCHoklch(78.99% 0.111 288.2)
XYZxyz(52.7433, 47.8819, 100.2100)
Luminance0.4788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AFFE #F6FEAF
analogous
#AFCFFE #B7AFFE #DFAFFE
triadic
#B7AFFE #FEB7AF #AFFEB7
tetradic
#B7AFFE #FEAFCF #F6FEAF #AFFEDF
square
#B7AFFE #FEAFCF #F6FEAF #AFFEDF
split-complementary
#B7AFFE #FEDFAF #CFFEAF
monochromatic
#4A36FC #8173FD #B7AFFE #E4E1FF #E4E1FF

Accessibility & contrast

On white

1.99
#B7AFFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#B7AFFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AFFE
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AFFE#FFFFFF#000000##000000
##B7AFFE1.001.9910.5810.58
#FFFFFF1.991.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#99BAFF
Deuteranopia (green-blind)
#99B6FC
Tritanopia (blue-blind)
#A7BDCB
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b7affe;
/* rgb */ color: rgb(183, 175, 254);
/* oklch */ color: oklch(79.0% 0.111 288.2);
Tailwind
colors: {
  custom: {
    50: '#cec6ff',
    500: '#b7affe',
    950: '#000000',
  },
}
SCSS
$custom: #b7affe;
$custom-light: #cec6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b7affe",
  "rgb": {
    "r": 183,
    "g": 175,
    "b": 254
  },
  "hsl": {
    "h": 246.076,
    "s": 97.531,
    "l": 84.118
  },
  "oklch": {
    "l": 0.78988,
    "c": 0.11125,
    "h": 288.2
  },
  "luminance": 0.47883
}

Semantic roles & 50–950 ramp

primary
#B7AFFE
secondary
#F3F7D4
accent
#E600CE
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141318
muted
#828286

Preview Lab

Preview with #B7AFFE

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

Preview Lab → · Contrast checker → · Palette generator →

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