#B17BFB#B17BFB

#B17BFB is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.2% C 0.186 H 301.2°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#B17BFB
RGBrgb(177, 123, 251)
HSLhsl(265, 94%, 73%)
HSVhsv(265, 51%, 98%)
CMYKcmyk(29.5%, 51%, 0%, 1.6%)
CIE-LABlab(62.06, 46.23, -56.44)
CIE-LCHlch(62.06, 72.95, 309.32°)
OKLaboklab(69.22% 0.0962 -0.159)
OKLCHoklch(69.22% 0.186 301.2)
XYZxyz(42.6230, 30.4779, 94.8854)
Luminance0.3048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17BFB #C5FB7B
analogous
#7B85FB #B17BFB #F17BFB
triadic
#B17BFB #FBB17B #7BFBB1
tetradic
#B17BFB #FB7B85 #C5FB7B #7BFBF1
square
#B17BFB #FB7B85 #C5FB7B #7BFBF1
split-complementary
#B17BFB #FBF17B #85FB7B
monochromatic
#6B07F4 #8E40F9 #B17BFB #D4B6FD #EDE1FE

Accessibility & contrast

On white

2.96
#B17BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#B17BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B17BFB
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17BFB#FFFFFF#000000##000000
##B17BFB1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F95FF
Deuteranopia (green-blind)
#5E95F8
Tritanopia (blue-blind)
#A393B0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b17bfb;
/* rgb */ color: rgb(177, 123, 251);
/* oklch */ color: oklch(69.2% 0.186 301.2);
Tailwind
colors: {
  custom: {
    50: '#cba2fd',
    500: '#b17bfb',
    950: '#000000',
  },
}
SCSS
$custom: #b17bfb;
$custom-light: #cba2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b17bfb",
  "rgb": {
    "r": 177,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 265.313,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69215,
    "c": 0.18583,
    "h": 301.2
  },
  "luminance": 0.30478
}

Semantic roles & 50–950 ramp

primary
#B17BFB
secondary
#E8F6D5
accent
#E60085
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B17BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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