#B17BEE#B17BEE

#B17BEE is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.5% C 0.170 H 303.9°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#B17BEE
RGBrgb(177, 123, 238)
HSLhsl(268, 77%, 71%)
HSVhsv(268, 48%, 93%)
CMYKcmyk(25.6%, 48.3%, 0%, 6.7%)
CIE-LABlab(61.38, 43.15, -50.35)
CIE-LCHlch(61.38, 66.31, 310.60°)
OKLaboklab(68.49% 0.095 -0.1412)
OKLCHoklch(68.49% 0.17 303.9)
XYZxyz(40.6437, 29.6862, 84.4612)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17BEE #B8EE7B
analogous
#7B7EEE #B17BEE #EA7BEE
triadic
#B17BEE #EEB17B #7BEEB1
tetradic
#B17BEE #EE7B7E #B8EE7B #7BEEEA
square
#B17BEE #EE7B7E #B8EE7B #7BEEEA
split-complementary
#B17BEE #EEEA7B #7EEE7B
monochromatic
#721BD3 #9145E7 #B17BEE #D1B1F5 #EFE4FC

Accessibility & contrast

On white

3.03
#B17BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#B17BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B17BEE
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17BEE#FFFFFF#000000##000000
##B17BEE1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5993F2
Deuteranopia (green-blind)
#6894EB
Tritanopia (blue-blind)
#A78FA9
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b17bee;
/* rgb */ color: rgb(177, 123, 238);
/* oklch */ color: oklch(68.5% 0.170 303.9);
Tailwind
colors: {
  custom: {
    50: '#cba2f4',
    500: '#b17bee',
    950: '#000000',
  },
}
SCSS
$custom: #b17bee;
$custom-light: #cba2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b17bee",
  "rgb": {
    "r": 177,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 268.174,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68487,
    "c": 0.1702,
    "h": 303.9
  },
  "luminance": 0.29686
}

Semantic roles & 50–950 ramp

primary
#B17BEE
secondary
#E3F2D3
accent
#D90C79
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B17BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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