#B7AAEE#B7AAEE

#B7AAEE is a light, moderate violet. Relative luminance 0.450; OKLCH L 77.3% C 0.097 H 292.8°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#B7AAEE
RGBrgb(183, 170, 238)
HSLhsl(251, 67%, 80%)
HSVhsv(251, 29%, 93%)
CMYKcmyk(23.1%, 28.6%, 0%, 6.7%)
CIE-LABlab(72.88, 18.70, -32.31)
CIE-LCHlch(72.88, 37.33, 300.06°)
OKLaboklab(77.34% 0.0374 -0.0892)
OKLCHoklch(77.34% 0.097 292.8)
XYZxyz(49.3321, 44.9892, 86.9571)
Luminance0.4499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AAEE #E1EEAA
analogous
#AABFEE #B7AAEE #D9AAEE
triadic
#B7AAEE #EEB7AA #AAEEB7
tetradic
#B7AAEE #EEAABF #E1EEAA #AAEED9
square
#B7AAEE #EEAABF #E1EEAA #AAEED9
split-complementary
#B7AAEE #EED9AA #BFEEAA
monochromatic
#6144DA #8C77E4 #B7AAEE #E2DDF8 #E9E5FA

Accessibility & contrast

On white

2.10
#B7AAEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#B7AAEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AAEE
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AAEE#FFFFFF#000000##000000
##B7AAEE1.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B4F1
Deuteranopia (green-blind)
#9AB2EC
Tritanopia (blue-blind)
#ACB5C2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b7aaee;
/* rgb */ color: rgb(183, 170, 238);
/* oklch */ color: oklch(77.3% 0.097 292.8);
Tailwind
colors: {
  custom: {
    50: '#cdc3f3',
    500: '#b7aaee',
    950: '#000000',
  },
}
SCSS
$custom: #b7aaee;
$custom-light: #cdc3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b7aaee",
  "rgb": {
    "r": 183,
    "g": 170,
    "b": 238
  },
  "hsl": {
    "h": 251.471,
    "s": 66.667,
    "l": 80
  },
  "oklch": {
    "l": 0.77343,
    "c": 0.09669,
    "h": 292.8
  },
  "luminance": 0.4499
}

Semantic roles & 50–950 ramp

primary
#B7AAEE
secondary
#EDF1DA
accent
#CF17AB
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #B7AAEE

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

Preview Lab → · Contrast checker → · Palette generator →

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