#B17AED#B17AED

#B17AED is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.3% C 0.171 H 304.3°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#B17AED
RGBrgb(177, 122, 237)
HSLhsl(269, 76%, 70%)
HSVhsv(269, 49%, 93%)
CMYKcmyk(25.3%, 48.5%, 0%, 7.1%)
CIE-LABlab(61.12, 43.46, -50.21)
CIE-LCHlch(61.12, 66.41, 310.88°)
OKLaboklab(68.27% 0.0962 -0.1408)
OKLCHoklch(68.27% 0.171 304.3)
XYZxyz(40.3738, 29.3808, 83.6484)
Luminance0.2938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17AED #B6ED7A
analogous
#7A7CED #B17AED #EB7AED
triadic
#B17AED #EDB17A #7AEDB1
tetradic
#B17AED #ED7A7C #B6ED7A #7AEDEB
square
#B17AED #ED7A7C #B6ED7A #7AEDEB
split-complementary
#B17AED #EDEB7A #7CED7A
monochromatic
#721CD0 #9144E6 #B17AED #D1B0F4 #EFE4FB

Accessibility & contrast

On white

3.05
#B17AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#B17AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B17AED
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17AED#FFFFFF#000000##000000
##B17AED1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5892F1
Deuteranopia (green-blind)
#6794EA
Tritanopia (blue-blind)
#A78EA8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b17aed;
/* rgb */ color: rgb(177, 122, 237);
/* oklch */ color: oklch(68.3% 0.171 304.3);
Tailwind
colors: {
  custom: {
    50: '#cba2f3',
    500: '#b17aed',
    950: '#000000',
  },
}
SCSS
$custom: #b17aed;
$custom-light: #cba2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b17aed",
  "rgb": {
    "r": 177,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 268.696,
    "s": 76.159,
    "l": 70.392
  },
  "oklch": {
    "l": 0.68272,
    "c": 0.17056,
    "h": 304.3
  },
  "luminance": 0.29381
}

Semantic roles & 50–950 ramp

primary
#B17AED
secondary
#E2F1D2
accent
#D80D77
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B17AED

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

Preview Lab → · Contrast checker → · Palette generator →

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