#B18CC5#B18CC5

#B18CC5 is a light, moderate violet. Relative luminance 0.321; OKLCH L 69.5% C 0.091 H 313.4°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#B18CC5
RGBrgb(177, 140, 197)
HSLhsl(279, 33%, 66%)
HSVhsv(279, 29%, 77%)
CMYKcmyk(10.2%, 28.9%, 0%, 22.7%)
CIE-LABlab(63.45, 24.52, -24.23)
CIE-LCHlch(63.45, 34.48, 315.34°)
OKLaboklab(69.46% 0.0627 -0.0662)
OKLCHoklch(69.46% 0.091 313.4)
XYZxyz(37.5860, 32.1351, 57.0352)
Luminance0.3213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18CC5 #A0C58C
analogous
#948CC5 #B18CC5 #C58CBC
triadic
#B18CC5 #C5B18C #8CC5B1
tetradic
#B18CC5 #C5948C #A0C58C #8CBCC5
square
#B18CC5 #C5948C #A0C58C #8CBCC5
split-complementary
#B18CC5 #BCC58C #8CC594
monochromatic
#76488F #9563B0 #B18CC5 #CDB5DA #E8DDEE

Accessibility & contrast

On white

2.83
#B18CC5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#B18CC5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18CC5
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18CC5#FFFFFF#000000##000000
##B18CC51.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8398C7
Deuteranopia (green-blind)
#8B9BC3
Tritanopia (blue-blind)
#B093A0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b18cc5;
/* rgb */ color: rgb(177, 140, 197);
/* oklch */ color: oklch(69.5% 0.091 313.4);
Tailwind
colors: {
  custom: {
    50: '#c9aed6',
    500: '#b18cc5',
    950: '#000000',
  },
}
SCSS
$custom: #b18cc5;
$custom-light: #c9aed6;
$custom-dark: #000000;
JSON
{
  "hex": "#b18cc5",
  "rgb": {
    "r": 177,
    "g": 140,
    "b": 197
  },
  "hsl": {
    "h": 278.947,
    "s": 32.948,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69458,
    "c": 0.09114,
    "h": 313.4
  },
  "luminance": 0.32134
}

Semantic roles & 50–950 ramp

primary
#B18CC5
secondary
#D4E0CD
accent
#AC3A62
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131014
muted
#827F83

Preview Lab

Preview with #B18CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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