#B7AFE4#B7AFE4

#B7AFE4 is a light, moderate blue. Relative luminance 0.463; OKLCH L 77.9% C 0.075 H 291.5°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#B7AFE4
RGBrgb(183, 175, 228)
HSLhsl(249, 50%, 79%)
HSVhsv(249, 23%, 89%)
CMYKcmyk(19.7%, 23.2%, 0%, 10.6%)
CIE-LABlab(73.76, 13.65, -25.53)
CIE-LCHlch(73.76, 28.95, 298.12°)
OKLaboklab(77.89% 0.0275 -0.07)
OKLCHoklch(77.89% 0.075 291.5)
XYZxyz(48.8588, 46.3281, 79.7519)
Luminance0.4633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AFE4 #DCE4AF
analogous
#AFC2E4 #B7AFE4 #D2AFE4
triadic
#B7AFE4 #E4B7AF #AFE4B7
tetradic
#B7AFE4 #E4AFC2 #DCE4AF #AFE4D2
square
#B7AFE4 #E4AFC2 #DCE4AF #AFE4D2
split-complementary
#B7AFE4 #E4D2AF #C2E4AF
monochromatic
#6553C5 #8E81D5 #B7AFE4 #E0DDF3 #EAE8F7

Accessibility & contrast

On white

2.05
#B7AFE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#B7AFE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AFE4
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AFE4#FFFFFF#000000##000000
##B7AFE41.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3B6E6
Deuteranopia (green-blind)
#A3B4E3
Tritanopia (blue-blind)
#AEB7C1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b7afe4;
/* rgb */ color: rgb(183, 175, 228);
/* oklch */ color: oklch(77.9% 0.075 291.5);
Tailwind
colors: {
  custom: {
    50: '#cdc6ec',
    500: '#b7afe4',
    950: '#000000',
  },
}
SCSS
$custom: #b7afe4;
$custom-light: #cdc6ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b7afe4",
  "rgb": {
    "r": 183,
    "g": 175,
    "b": 228
  },
  "hsl": {
    "h": 249.057,
    "s": 49.533,
    "l": 79.02
  },
  "oklch": {
    "l": 0.77894,
    "c": 0.07518,
    "h": 291.5
  },
  "luminance": 0.46329
}

Semantic roles & 50–950 ramp

primary
#B7AFE4
secondary
#ECEEDD
accent
#BD29A6
background
#FCFCFE
surface
#F9F8FD
border
#D2D1D5
text
#131316
muted
#828284

Preview Lab

Preview with #B7AFE4

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

Preview Lab → · Contrast checker → · Palette generator →

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