#B7AFFC#B7AFFC

#B7AFFC is a light, moderate blue. Relative luminance 0.478; OKLCH L 78.9% C 0.108 H 288.4°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#B7AFFC
RGBrgb(183, 175, 252)
HSLhsl(246, 93%, 84%)
HSVhsv(246, 31%, 99%)
CMYKcmyk(27.4%, 30.6%, 0%, 1.2%)
CIE-LABlab(74.67, 19.23, -37.12)
CIE-LCHlch(74.67, 41.81, 297.39°)
OKLaboklab(78.9% 0.0343 -0.1029)
OKLCHoklch(78.9% 0.108 288.4)
XYZxyz(52.4247, 47.7545, 98.5321)
Luminance0.4775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AFFC #F4FCAF
analogous
#AFCDFC #B7AFFC #DDAFFC
triadic
#B7AFFC #FCB7AF #AFFCB7
tetradic
#B7AFFC #FCAFCD #F4FCAF #AFFCDD
square
#B7AFFC #FCAFCD #F4FCAF #AFFCDD
split-complementary
#B7AFFC #FCDDAF #CDFCAF
monochromatic
#4D39F8 #8274FA #B7AFFC #E4E2FE #E4E2FE

Accessibility & contrast

On white

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

On black

10.55
#B7AFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AFFC
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AFFC#FFFFFF#000000##000000
##B7AFFC1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB9FF
Deuteranopia (green-blind)
#9AB6FA
Tritanopia (blue-blind)
#A7BCCB
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b7affc;
/* rgb */ color: rgb(183, 175, 252);
/* oklch */ color: oklch(78.9% 0.108 288.4);
Tailwind
colors: {
  custom: {
    50: '#cec6fd',
    500: '#b7affc',
    950: '#000000',
  },
}
SCSS
$custom: #b7affc;
$custom-light: #cec6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b7affc",
  "rgb": {
    "r": 183,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 246.234,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.78899,
    "c": 0.10849,
    "h": 288.4
  },
  "luminance": 0.47755
}

Semantic roles & 50–950 ramp

primary
#B7AFFC
secondary
#F3F6D5
accent
#E600CE
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141317
muted
#828285

Preview Lab

Preview with #B7AFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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