#B18BFB#B18BFB

#B18BFB is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.8% C 0.161 H 297.9°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#B18BFB
RGBrgb(177, 139, 251)
HSLhsl(260, 93%, 76%)
HSVhsv(260, 45%, 98%)
CMYKcmyk(29.5%, 44.6%, 0%, 1.6%)
CIE-LABlab(65.57, 37.43, -50.87)
CIE-LCHlch(65.57, 63.15, 306.34°)
OKLaboklab(71.84% 0.0755 -0.1427)
OKLCHoklch(71.84% 0.161 297.9)
XYZxyz(44.7725, 34.7769, 95.6019)
Luminance0.3478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18BFB #D5FB8B
analogous
#8B9DFB #B18BFB #E98BFB
triadic
#B18BFB #FBB18B #8BFBB1
tetradic
#B18BFB #FB8B9D #D5FB8B #8BFBE9
square
#B18BFB #FB8B9D #D5FB8B #8BFBE9
split-complementary
#B18BFB #FBE98B #9DFB8B
monochromatic
#6115F7 #8950F9 #B18BFB #D9C6FD #EBE1FE

Accessibility & contrast

On white

2.64
#B18BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#B18BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18BFB
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18BFB#FFFFFF#000000##000000
##B18BFB1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFF
Deuteranopia (green-blind)
#719EF8
Tritanopia (blue-blind)
#A29FB7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b18bfb;
/* rgb */ color: rgb(177, 139, 251);
/* oklch */ color: oklch(71.8% 0.161 297.9);
Tailwind
colors: {
  custom: {
    50: '#cbadfd',
    500: '#b18bfb',
    950: '#000000',
  },
}
SCSS
$custom: #b18bfb;
$custom-light: #cbadfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b18bfb",
  "rgb": {
    "r": 177,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 260.357,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71838,
    "c": 0.16146,
    "h": 297.9
  },
  "luminance": 0.34777
}

Semantic roles & 50–950 ramp

primary
#B18BFB
secondary
#EBF6D5
accent
#E60098
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B18BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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