#B7AFF2#B7AFF2

#B7AFF2 is a light, moderate blue. Relative luminance 0.471; OKLCH L 78.5% C 0.095 H 289.5°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#B7AFF2
RGBrgb(183, 175, 242)
HSLhsl(247, 72%, 82%)
HSVhsv(247, 28%, 95%)
CMYKcmyk(24.4%, 27.7%, 0%, 5.1%)
CIE-LABlab(74.28, 16.86, -32.33)
CIE-LCHlch(74.28, 36.46, 297.54°)
OKLaboklab(78.47% 0.0316 -0.0892)
OKLCHoklch(78.47% 0.095 289.5)
XYZxyz(50.8815, 47.1372, 90.4049)
Luminance0.4714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AFF2 #EAF2AF
analogous
#AFC9F2 #B7AFF2 #D9AFF2
triadic
#B7AFF2 #F2B7AF #AFF2B7
tetradic
#B7AFF2 #F2AFC9 #EAF2AF #AFF2D9
square
#B7AFF2 #F2AFC9 #EAF2AF #AFF2D9
split-complementary
#B7AFF2 #F2D9AF #C9F2AF
monochromatic
#5846E1 #887AE9 #B7AFF2 #E6E4FB #E7E5FB

Accessibility & contrast

On white

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

On black

10.43
#B7AFF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AFF2
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AFF2#FFFFFF#000000##000000
##B7AFF21.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB8F5
Deuteranopia (green-blind)
#9EB5F0
Tritanopia (blue-blind)
#AABAC7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b7aff2;
/* rgb */ color: rgb(183, 175, 242);
/* oklch */ color: oklch(78.5% 0.095 289.5);
Tailwind
colors: {
  custom: {
    50: '#cdc6f6',
    500: '#b7aff2',
    950: '#000000',
  },
}
SCSS
$custom: #b7aff2;
$custom-light: #cdc6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b7aff2",
  "rgb": {
    "r": 183,
    "g": 175,
    "b": 242
  },
  "hsl": {
    "h": 247.164,
    "s": 72.043,
    "l": 81.765
  },
  "oklch": {
    "l": 0.78467,
    "c": 0.09466,
    "h": 289.5
  },
  "luminance": 0.47138
}

Semantic roles & 50–950 ramp

primary
#B7AFF2
secondary
#EFF2D9
accent
#D411BD
background
#FCFCFF
surface
#F9F8FE
border
#D2D1D6
text
#131317
muted
#828285

Preview Lab

Preview with #B7AFF2

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

Preview Lab → · Contrast checker → · Palette generator →

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