#B18BD9#B18BD9

#B18BD9 is a light, moderate violet. Relative luminance 0.328; OKLCH L 70.2% C 0.118 H 305.9°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#B18BD9
RGBrgb(177, 139, 217)
HSLhsl(269, 51%, 70%)
HSVhsv(269, 36%, 85%)
CMYKcmyk(18.4%, 35.9%, 0%, 14.9%)
CIE-LABlab(64.02, 29.44, -34.54)
CIE-LCHlch(64.02, 45.39, 310.44°)
OKLaboklab(70.15% 0.0693 -0.0955)
OKLCHoklch(70.15% 0.118 305.9)
XYZxyz(39.8860, 32.8223, 69.8663)
Luminance0.3282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18BD9 #B3D98B
analogous
#8B8CD9 #B18BD9 #D88BD9
triadic
#B18BD9 #D9B18B #8BD9B1
tetradic
#B18BD9 #D98B8C #B3D98B #8BD9D8
square
#B18BD9 #D98B8C #B3D98B #8BD9D8
split-complementary
#B18BD9 #D9D88B #8CD98B
monochromatic
#733AB0 #925DCA #B18BD9 #D0B9E8 #EFE7F7

Accessibility & contrast

On white

2.78
#B18BD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#B18BD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18BD9
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18BD9#FFFFFF#000000##000000
##B18BD91.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9ADC
Deuteranopia (green-blind)
#839BD7
Tritanopia (blue-blind)
#AB97A8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b18bd9;
/* rgb */ color: rgb(177, 139, 217);
/* oklch */ color: oklch(70.2% 0.118 305.9);
Tailwind
colors: {
  custom: {
    50: '#c9ade5',
    500: '#b18bd9',
    950: '#000000',
  },
}
SCSS
$custom: #b18bd9;
$custom-light: #c9ade5;
$custom-dark: #000000;
JSON
{
  "hex": "#b18bd9",
  "rgb": {
    "r": 177,
    "g": 139,
    "b": 217
  },
  "hsl": {
    "h": 269.231,
    "s": 50.649,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7015,
    "c": 0.11799,
    "h": 305.9
  },
  "luminance": 0.32822
}

Semantic roles & 50–950 ramp

primary
#B18BD9
secondary
#E0EBD5
accent
#BE2775
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131015
muted
#827F84

Preview Lab

Preview with #B18BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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