#B18BBD#B18BBD

#B18BBD is a light, moderate purple. Relative luminance 0.315; OKLCH L 68.9% C 0.083 H 317.9°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#B18BBD
RGBrgb(177, 139, 189)
HSLhsl(286, 27%, 64%)
HSVhsv(286, 26%, 74%)
CMYKcmyk(6.3%, 26.5%, 0%, 25.9%)
CIE-LABlab(62.92, 23.43, -20.55)
CIE-LCHlch(62.92, 31.17, 318.74°)
OKLaboklab(68.95% 0.0619 -0.0558)
OKLCHoklch(68.95% 0.083 317.9)
XYZxyz(36.5481, 31.4872, 52.2866)
Luminance0.3149 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18BBD #97BD8B
analogous
#988BBD #B18BBD #BD8BB0
triadic
#B18BBD #BDB18B #8BBDB1
tetradic
#B18BBD #BD988B #97BD8B #8BB0BD
square
#B18BBD #BD988B #97BD8B #8BB0BD
split-complementary
#B18BBD #B0BD8B #8BBD98
monochromatic
#754B83 #9764A7 #B18BBD #CBB2D3 #E5D9E9

Accessibility & contrast

On white

2.88
#B18BBD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#B18BBD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18BBD
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18BBD#FFFFFF#000000##000000
##B18BBD1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8596BF
Deuteranopia (green-blind)
#8D9ABB
Tritanopia (blue-blind)
#B1909D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b18bbd;
/* rgb */ color: rgb(177, 139, 189);
/* oklch */ color: oklch(68.9% 0.083 317.9);
Tailwind
colors: {
  custom: {
    50: '#c8add1',
    500: '#b18bbd',
    950: '#000000',
  },
}
SCSS
$custom: #b18bbd;
$custom-light: #c8add1;
$custom-dark: #000000;
JSON
{
  "hex": "#b18bbd",
  "rgb": {
    "r": 177,
    "g": 139,
    "b": 189
  },
  "hsl": {
    "h": 285.6,
    "s": 27.473,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68949,
    "c": 0.08332,
    "h": 317.9
  },
  "luminance": 0.31486
}

Semantic roles & 50–950 ramp

primary
#B18BBD
secondary
#CDDBC9
accent
#A63F58
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #B18BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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