#B29BFB#B29BFB

#B29BFB is a light, vivid violet. Relative luminance 0.399; OKLCH L 74.7% C 0.137 H 293.8°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#B29BFB
RGBrgb(178, 155, 251)
HSLhsl(254, 92%, 80%)
HSVhsv(254, 38%, 98%)
CMYKcmyk(29.1%, 38.2%, 0%, 1.6%)
CIE-LABlab(69.38, 28.75, -44.87)
CIE-LCHlch(69.38, 53.29, 302.65°)
OKLaboklab(74.74% 0.0554 -0.1253)
OKLCHoklch(74.74% 0.137 293.8)
XYZxyz(47.4897, 39.8720, 96.4421)
Luminance0.3987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29BFB #E4FB9B
analogous
#9BB4FB #B29BFB #E29BFB
triadic
#B29BFB #FBB29B #9BFBB2
tetradic
#B29BFB #FB9BB4 #E4FB9B #9BFBE2
square
#B29BFB #FB9BB4 #E4FB9B #9BFBE2
split-complementary
#B29BFB #FBE29B #B4FB9B
monochromatic
#5725F6 #8560F9 #B29BFB #DFD6FD #E8E2FE

Accessibility & contrast

On white

2.34
#B29BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#B29BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29BFB
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29BFB#FFFFFF#000000##000000
##B29BFB1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80AAFF
Deuteranopia (green-blind)
#83A8F9
Tritanopia (blue-blind)
#A2ACBF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b29bfb;
/* rgb */ color: rgb(178, 155, 251);
/* oklch */ color: oklch(74.7% 0.137 293.8);
Tailwind
colors: {
  custom: {
    50: '#cbb8fd',
    500: '#b29bfb',
    950: '#000000',
  },
}
SCSS
$custom: #b29bfb;
$custom-light: #cbb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b29bfb",
  "rgb": {
    "r": 178,
    "g": 155,
    "b": 251
  },
  "hsl": {
    "h": 254.375,
    "s": 92.308,
    "l": 79.608
  },
  "oklch": {
    "l": 0.74736,
    "c": 0.13701,
    "h": 293.8
  },
  "luminance": 0.39873
}

Semantic roles & 50–950 ramp

primary
#B29BFB
secondary
#EEF6D5
accent
#E600AF
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #B29BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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