#B17AEC#B17AEC

#B17AEC is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.2% C 0.169 H 304.6°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#B17AEC
RGBrgb(177, 122, 236)
HSLhsl(269, 75%, 70%)
HSVhsv(269, 48%, 93%)
CMYKcmyk(25%, 48.3%, 0%, 7.5%)
CIE-LABlab(61.07, 43.23, -49.74)
CIE-LCHlch(61.07, 65.90, 310.99°)
OKLaboklab(68.22% 0.0961 -0.1394)
OKLCHoklch(68.22% 0.169 304.6)
XYZxyz(40.2281, 29.3225, 82.8811)
Luminance0.2932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17AEC #B5EC7A
analogous
#7A7CEC #B17AEC #EA7AEC
triadic
#B17AEC #ECB17A #7AECB1
tetradic
#B17AEC #EC7A7C #B5EC7A #7AECEA
square
#B17AEC #EC7A7C #B5EC7A #7AECEA
split-complementary
#B17AEC #ECEA7A #7CEC7A
monochromatic
#731DCE #9244E4 #B17AEC #D0B0F4 #EFE4FB

Accessibility & contrast

On white

3.06
#B17AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#B17AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B17AEC
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17AEC#FFFFFF#000000##000000
##B17AEC1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5992F0
Deuteranopia (green-blind)
#6893E9
Tritanopia (blue-blind)
#A78EA8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b17aec;
/* rgb */ color: rgb(177, 122, 236);
/* oklch */ color: oklch(68.2% 0.169 304.6);
Tailwind
colors: {
  custom: {
    50: '#cba2f2',
    500: '#b17aec',
    950: '#000000',
  },
}
SCSS
$custom: #b17aec;
$custom-light: #cba2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b17aec",
  "rgb": {
    "r": 177,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 268.947,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68217,
    "c": 0.16936,
    "h": 304.6
  },
  "luminance": 0.29322
}

Semantic roles & 50–950 ramp

primary
#B17AEC
secondary
#E1F1D1
accent
#D70E76
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B17AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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