#B8AAF7#B8AAF7

#B8AAF7 is a light, moderate violet. Relative luminance 0.457; OKLCH L 77.8% C 0.109 H 292.0°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#B8AAF7
RGBrgb(184, 170, 247)
HSLhsl(251, 83%, 82%)
HSVhsv(251, 31%, 97%)
CMYKcmyk(25.5%, 31.2%, 0%, 3.1%)
CIE-LABlab(73.32, 21.10, -36.51)
CIE-LCHlch(73.32, 42.17, 300.03°)
OKLaboklab(77.82% 0.0409 -0.1011)
OKLCHoklch(77.82% 0.109 292)
XYZxyz(50.9263, 45.6544, 94.1068)
Luminance0.4566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AAF7 #E9F7AA
analogous
#AAC3F7 #B8AAF7 #DFAAF7
triadic
#B8AAF7 #F7B8AA #AAF7B8
tetradic
#B8AAF7 #F7AAC3 #E9F7AA #AAF7DF
square
#B8AAF7 #F7AAC3 #E9F7AA #AAF7DF
split-complementary
#B8AAF7 #F7DFAA #C3F7AA
monochromatic
#5B3AEC #8972F2 #B8AAF7 #E7E2FC #E8E3FC

Accessibility & contrast

On white

2.07
#B8AAF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#B8AAF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AAF7
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AAF7#FFFFFF#000000##000000
##B8AAF71.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B5FA
Deuteranopia (green-blind)
#97B3F5
Tritanopia (blue-blind)
#ABB7C6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b8aaf7;
/* rgb */ color: rgb(184, 170, 247);
/* oklch */ color: oklch(77.8% 0.109 292.0);
Tailwind
colors: {
  custom: {
    50: '#cec3fa',
    500: '#b8aaf7',
    950: '#000000',
  },
}
SCSS
$custom: #b8aaf7;
$custom-light: #cec3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b8aaf7",
  "rgb": {
    "r": 184,
    "g": 170,
    "b": 247
  },
  "hsl": {
    "h": 250.909,
    "s": 82.796,
    "l": 81.765
  },
  "oklch": {
    "l": 0.77815,
    "c": 0.10909,
    "h": 292
  },
  "luminance": 0.45655
}

Semantic roles & 50–950 ramp

primary
#B8AAF7
secondary
#EFF4D7
accent
#DF06B8
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #B8AAF7

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

Preview Lab → · Contrast checker → · Palette generator →

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