#B18BEC#B18BEC

#B18BEC is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.1% C 0.142 H 300.9°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#B18BEC
RGBrgb(177, 139, 236)
HSLhsl(264, 72%, 74%)
HSVhsv(264, 41%, 93%)
CMYKcmyk(25%, 41.1%, 0%, 7.5%)
CIE-LABlab(64.86, 33.82, -43.76)
CIE-LCHlch(64.86, 55.30, 307.70°)
OKLaboklab(71.06% 0.0731 -0.1221)
OKLCHoklch(71.06% 0.142 300.9)
XYZxyz(42.5010, 33.8684, 83.6388)
Luminance0.3387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18BEC #C6EC8B
analogous
#8B95EC #B18BEC #E18BEC
triadic
#B18BEC #ECB18B #8BECB1
tetradic
#B18BEC #EC8B95 #C6EC8B #8BECE1
square
#B18BEC #EC8B95 #C6EC8B #8BECE1
split-complementary
#B18BEC #ECE18B #95EC8B
monochromatic
#6B24D9 #8E56E3 #B18BEC #D4C0F5 #EDE5FB

Accessibility & contrast

On white

2.70
#B18BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#B18BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18BEC
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18BEC#FFFFFF#000000##000000
##B18BEC1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DF0
Deuteranopia (green-blind)
#799DE9
Tritanopia (blue-blind)
#A69BB0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b18bec;
/* rgb */ color: rgb(177, 139, 236);
/* oklch */ color: oklch(71.1% 0.142 300.9);
Tailwind
colors: {
  custom: {
    50: '#caadf2',
    500: '#b18bec',
    950: '#000000',
  },
}
SCSS
$custom: #b18bec;
$custom-light: #caadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b18bec",
  "rgb": {
    "r": 177,
    "g": 139,
    "b": 236
  },
  "hsl": {
    "h": 263.505,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71064,
    "c": 0.1423,
    "h": 300.9
  },
  "luminance": 0.33868
}

Semantic roles & 50–950 ramp

primary
#B18BEC
secondary
#E8F2D9
accent
#D41288
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B18BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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