#B18DB2#B18DB2

#B18DB2 is a light, moderate purple. Relative luminance 0.316; OKLCH L 68.9% C 0.067 H 325.4°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#B18DB2
RGBrgb(177, 141, 178)
HSLhsl(298, 19%, 63%)
HSVhsv(298, 21%, 70%)
CMYKcmyk(0.6%, 20.8%, 0%, 30.2%)
CIE-LABlab(63.02, 20.12, -14.19)
CIE-LCHlch(63.02, 24.62, 324.81°)
OKLaboklab(68.9% 0.0553 -0.0381)
OKLCHoklch(68.9% 0.067 325.4)
XYZxyz(35.6913, 31.6120, 46.3324)
Luminance0.3161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18DB2 #8EB28D
analogous
#9E8DB2 #B18DB2 #B28DA1
triadic
#B18DB2 #B2B18D #8DB2B1
tetradic
#B18DB2 #B29E8D #8EB28D #8DA1B2
square
#B18DB2 #B29E8D #8EB28D #8DA1B2
split-complementary
#B18DB2 #A1B28D #8DB29E
monochromatic
#744F75 #986899 #B18DB2 #CAB2CB #E3D6E3

Accessibility & contrast

On white

2.87
#B18DB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#B18DB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18DB2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18DB2#FFFFFF#000000##000000
##B18DB21.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A96B4
Deuteranopia (green-blind)
#929AB1
Tritanopia (blue-blind)
#B3909A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b18db2;
/* rgb */ color: rgb(177, 141, 178);
/* oklch */ color: oklch(68.9% 0.067 325.4);
Tailwind
colors: {
  custom: {
    50: '#c8aec9',
    500: '#b18db2',
    950: '#000000',
  },
}
SCSS
$custom: #b18db2;
$custom-light: #c8aec9;
$custom-dark: #000000;
JSON
{
  "hex": "#b18db2",
  "rgb": {
    "r": 177,
    "g": 141,
    "b": 178
  },
  "hsl": {
    "h": 298.378,
    "s": 19.372,
    "l": 62.549
  },
  "oklch": {
    "l": 0.68902,
    "c": 0.06717,
    "h": 325.4
  },
  "luminance": 0.31611
}

Semantic roles & 50–950 ramp

primary
#B18DB2
secondary
#C7D4C7
accent
#9E484A
background
#FCFAFC
surface
#F8F4F8
border
#D1CED1
text
#131013
muted
#827F82

Preview Lab

Preview with #B18DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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