#B17BE7#B17BE7

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

Color values

HEX#B17BE7
RGBrgb(177, 123, 231)
HSLhsl(270, 69%, 69%)
HSVhsv(270, 47%, 91%)
CMYKcmyk(23.4%, 46.8%, 0%, 9.4%)
CIE-LABlab(61.03, 41.52, -47.02)
CIE-LCHlch(61.03, 62.73, 311.45°)
OKLaboklab(68.11% 0.0942 -0.1315)
OKLCHoklch(68.11% 0.162 305.6)
XYZxyz(39.6352, 29.2828, 79.1499)
Luminance0.2928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17BE7 #B1E77B
analogous
#7B7BE7 #B17BE7 #E77BE7
triadic
#B17BE7 #E7B17B #7BE7B1
tetradic
#B17BE7 #E77B7B #B1E77B #7BE7E7
square
#B17BE7 #E77B7B #B1E77B #7BE7E7
split-complementary
#B17BE7 #E7E77B #7BE77B
monochromatic
#7424C4 #9247DE #B17BE7 #D0AFF0 #EEE3FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B17BE7#FFFFFF#000000##000000
##B17BE71.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)
#5E92EB
Deuteranopia (green-blind)
#6C94E4
Tritanopia (blue-blind)
#A88DA6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b17be7;
/* rgb */ color: rgb(177, 123, 231);
/* oklch */ color: oklch(68.1% 0.162 305.6);
Tailwind
colors: {
  custom: {
    50: '#caa2ef',
    500: '#b17be7',
    950: '#000000',
  },
}
SCSS
$custom: #b17be7;
$custom-light: #caa2ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b17be7",
  "rgb": {
    "r": 177,
    "g": 123,
    "b": 231
  },
  "hsl": {
    "h": 270,
    "s": 69.231,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6811,
    "c": 0.16176,
    "h": 305.6
  },
  "luminance": 0.29283
}

Semantic roles & 50–950 ramp

primary
#B17BE7
secondary
#DFEECF
accent
#D11473
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B17BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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