#B18ABC#B18ABC

#B18ABC is a light, moderate purple. Relative luminance 0.312; OKLCH L 68.7% C 0.084 H 318.7°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#B18ABC
RGBrgb(177, 138, 188)
HSLhsl(287, 27%, 64%)
HSVhsv(287, 27%, 74%)
CMYKcmyk(5.9%, 26.6%, 0%, 26.3%)
CIE-LABlab(62.64, 23.79, -20.41)
CIE-LCHlch(62.64, 31.35, 319.37°)
OKLaboklab(68.72% 0.0631 -0.0554)
OKLCHoklch(68.72% 0.084 318.7)
XYZxyz(36.2958, 31.1556, 51.6688)
Luminance0.3115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18ABC #95BC8A
analogous
#988ABC #B18ABC #BC8AAE
triadic
#B18ABC #BCB18A #8ABCB1
tetradic
#B18ABC #BC988A #95BC8A #8AAEBC
square
#B18ABC #BC988A #95BC8A #8AAEBC
split-complementary
#B18ABC #AEBC8A #8ABC98
monochromatic
#754A81 #9763A6 #B18ABC #CBB1D2 #E5D8E9

Accessibility & contrast

On white

2.90
#B18ABC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#B18ABC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18ABC
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18ABC#FFFFFF#000000##000000
##B18ABC1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8495BE
Deuteranopia (green-blind)
#8D99BA
Tritanopia (blue-blind)
#B28F9C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b18abc;
/* rgb */ color: rgb(177, 138, 188);
/* oklch */ color: oklch(68.7% 0.084 318.7);
Tailwind
colors: {
  custom: {
    50: '#c9acd0',
    500: '#b18abc',
    950: '#000000',
  },
}
SCSS
$custom: #b18abc;
$custom-light: #c9acd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b18abc",
  "rgb": {
    "r": 177,
    "g": 138,
    "b": 188
  },
  "hsl": {
    "h": 286.8,
    "s": 27.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68724,
    "c": 0.08397,
    "h": 318.7
  },
  "luminance": 0.31155
}

Semantic roles & 50–950 ramp

primary
#B18ABC
secondary
#CCDAC8
accent
#A64056
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #B18ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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