#B18BB2#B18BB2

#B18BB2 is a light, moderate purple. Relative luminance 0.310; OKLCH L 68.5% C 0.071 H 325.5°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#B18BB2
RGBrgb(177, 139, 178)
HSLhsl(298, 20%, 62%)
HSVhsv(298, 22%, 70%)
CMYKcmyk(0.6%, 21.9%, 0%, 30.2%)
CIE-LABlab(62.53, 21.24, -14.93)
CIE-LCHlch(62.53, 25.96, 324.90°)
OKLaboklab(68.53% 0.0584 -0.0401)
OKLCHoklch(68.53% 0.071 325.5)
XYZxyz(35.3990, 31.0276, 46.2350)
Luminance0.3103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18BB2 #8CB28B
analogous
#9E8BB2 #B18BB2 #B28BA0
triadic
#B18BB2 #B2B18B #8BB2B1
tetradic
#B18BB2 #B29E8B #8CB28B #8BA0B2
square
#B18BB2 #B29E8B #8CB28B #8BA0B2
split-complementary
#B18BB2 #A0B28B #8BB29E
monochromatic
#744E75 #98669A #B18BB2 #CAB0CA #E2D5E3

Accessibility & contrast

On white

2.91
#B18BB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#B18BB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18BB2
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18BB2#FFFFFF#000000##000000
##B18BB21.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8894B4
Deuteranopia (green-blind)
#9199B1
Tritanopia (blue-blind)
#B38E98
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b18bb2;
/* rgb */ color: rgb(177, 139, 178);
/* oklch */ color: oklch(68.5% 0.071 325.5);
Tailwind
colors: {
  custom: {
    50: '#c8adc9',
    500: '#b18bb2',
    950: '#000000',
  },
}
SCSS
$custom: #b18bb2;
$custom-light: #c8adc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b18bb2",
  "rgb": {
    "r": 177,
    "g": 139,
    "b": 178
  },
  "hsl": {
    "h": 298.462,
    "s": 20.207,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68525,
    "c": 0.07088,
    "h": 325.5
  },
  "luminance": 0.31027
}

Semantic roles & 50–950 ramp

primary
#B18BB2
secondary
#C6D4C5
accent
#9F4749
background
#FCFAFC
surface
#F8F4F8
border
#D1CED1
text
#131013
muted
#827F82

Preview Lab

Preview with #B18BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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