#B17AE8#B17AE8

#B17AE8 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.0% C 0.165 H 305.5°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#B17AE8
RGBrgb(177, 122, 232)
HSLhsl(270, 71%, 69%)
HSVhsv(270, 47%, 91%)
CMYKcmyk(23.7%, 47.4%, 0%, 9%)
CIE-LABlab(60.86, 42.30, -47.84)
CIE-LCHlch(60.86, 63.86, 311.49°)
OKLaboklab(68% 0.0957 -0.1339)
OKLCHoklch(68% 0.165 305.5)
XYZxyz(39.6535, 29.0926, 79.8547)
Luminance0.2909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17AE8 #B1E87A
analogous
#7A7AE8 #B17AE8 #E87AE8
triadic
#B17AE8 #E8B17A #7AE8B1
tetradic
#B17AE8 #E87A7A #B1E87A #7AE8E8
square
#B17AE8 #E87A7A #B1E87A #7AE8E8
split-complementary
#B17AE8 #E8E87A #7AE87A
monochromatic
#7422C5 #9246DF #B17AE8 #D0AEF1 #EEE2FA

Accessibility & contrast

On white

3.08
#B17AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#B17AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B17AE8
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17AE8#FFFFFF#000000##000000
##B17AE81.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C91EC
Deuteranopia (green-blind)
#6A93E5
Tritanopia (blue-blind)
#A88DA6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b17ae8;
/* rgb */ color: rgb(177, 122, 232);
/* oklch */ color: oklch(68.0% 0.165 305.5);
Tailwind
colors: {
  custom: {
    50: '#caa2f0',
    500: '#b17ae8',
    950: '#000000',
  },
}
SCSS
$custom: #b17ae8;
$custom-light: #caa2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b17ae8",
  "rgb": {
    "r": 177,
    "g": 122,
    "b": 232
  },
  "hsl": {
    "h": 270,
    "s": 70.513,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68001,
    "c": 0.16456,
    "h": 305.5
  },
  "luminance": 0.29092
}

Semantic roles & 50–950 ramp

primary
#B17AE8
secondary
#DFEFCF
accent
#D31373
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B17AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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