#B17FEE#B17FEE

#B17FEE is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.1% C 0.164 H 303.2°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#B17FEE
RGBrgb(177, 127, 238)
HSLhsl(267, 77%, 72%)
HSVhsv(267, 47%, 93%)
CMYKcmyk(25.6%, 46.6%, 0%, 6.7%)
CIE-LABlab(62.25, 40.96, -48.97)
CIE-LCHlch(62.25, 63.84, 309.91°)
OKLaboklab(69.14% 0.0897 -0.1372)
OKLCHoklch(69.14% 0.164 303.2)
XYZxyz(41.1501, 30.6990, 84.6299)
Luminance0.3070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17FEE #BCEE7F
analogous
#7F85EE #B17FEE #E97FEE
triadic
#B17FEE #EEB17F #7FEEB1
tetradic
#B17FEE #EE7F85 #BCEE7F #7FEEE9
square
#B17FEE #EE7F85 #BCEE7F #7FEEE9
split-complementary
#B17FEE #EEE97F #85EE7F
monochromatic
#701CD6 #9049E7 #B17FEE #D2B5F5 #EFE4FB

Accessibility & contrast

On white

2.94
#B17FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#B17FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B17FEE
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17FEE#FFFFFF#000000##000000
##B17FEE1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F95F2
Deuteranopia (green-blind)
#6C96EB
Tritanopia (blue-blind)
#A692AB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b17fee;
/* rgb */ color: rgb(177, 127, 238);
/* oklch */ color: oklch(69.1% 0.164 303.2);
Tailwind
colors: {
  custom: {
    50: '#cba5f4',
    500: '#b17fee',
    950: '#000000',
  },
}
SCSS
$custom: #b17fee;
$custom-light: #cba5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b17fee",
  "rgb": {
    "r": 177,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 267.027,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69137,
    "c": 0.16391,
    "h": 303.2
  },
  "luminance": 0.30699
}

Semantic roles & 50–950 ramp

primary
#B17FEE
secondary
#E6F3D6
accent
#D90D7D
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #B17FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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