#B18DC8#B18DC8

#B18DC8 is a light, moderate violet. Relative luminance 0.326; OKLCH L 69.8% C 0.093 H 311.8°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#B18DC8
RGBrgb(177, 141, 200)
HSLhsl(277, 35%, 67%)
HSVhsv(277, 30%, 78%)
CMYKcmyk(11.5%, 29.5%, 0%, 21.6%)
CIE-LABlab(63.81, 24.60, -25.37)
CIE-LCHlch(63.81, 35.34, 314.11°)
OKLaboklab(69.77% 0.062 -0.0694)
OKLCHoklch(69.77% 0.093 311.8)
XYZxyz(38.0799, 32.5675, 58.9125)
Luminance0.3257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18DC8 #A4C88D
analogous
#948DC8 #B18DC8 #C88DC2
triadic
#B18DC8 #C8B18D #8DC8B1
tetradic
#B18DC8 #C8948D #A4C88D #8DC2C8
square
#B18DC8 #C8948D #A4C88D #8DC2C8
split-complementary
#B18DC8 #C2C88D #8DC894
monochromatic
#764793 #9564B4 #B18DC8 #CDB6DC #E9E0F0

Accessibility & contrast

On white

2.80
#B18DC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#B18DC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18DC8
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18DC8#FFFFFF#000000##000000
##B18DC81.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8499CA
Deuteranopia (green-blind)
#8B9BC6
Tritanopia (blue-blind)
#AF95A2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b18dc8;
/* rgb */ color: rgb(177, 141, 200);
/* oklch */ color: oklch(69.8% 0.093 311.8);
Tailwind
colors: {
  custom: {
    50: '#c9aed9',
    500: '#b18dc8',
    950: '#000000',
  },
}
SCSS
$custom: #b18dc8;
$custom-light: #c9aed9;
$custom-dark: #000000;
JSON
{
  "hex": "#b18dc8",
  "rgb": {
    "r": 177,
    "g": 141,
    "b": 200
  },
  "hsl": {
    "h": 276.61,
    "s": 34.911,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69767,
    "c": 0.09307,
    "h": 311.8
  },
  "luminance": 0.32567
}

Semantic roles & 50–950 ramp

primary
#B18DC8
secondary
#D6E2CF
accent
#AE3866
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131014
muted
#827F83

Preview Lab

Preview with #B18DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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