#B18BEE#B18BEE

#B18BEE is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.2% C 0.145 H 300.5°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#B18BEE
RGBrgb(177, 139, 238)
HSLhsl(263, 74%, 74%)
HSVhsv(263, 42%, 93%)
CMYKcmyk(25.6%, 41.6%, 0%, 6.7%)
CIE-LABlab(64.95, 34.29, -44.71)
CIE-LCHlch(64.95, 56.35, 307.49°)
OKLaboklab(71.16% 0.0734 -0.1249)
OKLCHoklch(71.16% 0.145 300.5)
XYZxyz(42.7932, 33.9852, 85.1777)
Luminance0.3398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18BEE #C8EE8B
analogous
#8B97EE #B18BEE #E28BEE
triadic
#B18BEE #EEB18B #8BEEB1
tetradic
#B18BEE #EE8B97 #C8EE8B #8BEEE2
square
#B18BEE #EE8B97 #C8EE8B #8BEEE2
split-complementary
#B18BEE #EEE28B #97EE8B
monochromatic
#6921DE #8D56E6 #B18BEE #D5C0F6 #EDE4FB

Accessibility & contrast

On white

2.69
#B18BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#B18BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B18BEE
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18BEE#FFFFFF#000000##000000
##B18BEE1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#709DF2
Deuteranopia (green-blind)
#789DEB
Tritanopia (blue-blind)
#A69CB1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b18bee;
/* rgb */ color: rgb(177, 139, 238);
/* oklch */ color: oklch(71.2% 0.145 300.5);
Tailwind
colors: {
  custom: {
    50: '#caadf4',
    500: '#b18bee',
    950: '#000000',
  },
}
SCSS
$custom: #b18bee;
$custom-light: #caadf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b18bee",
  "rgb": {
    "r": 177,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 263.03,
    "s": 74.436,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71164,
    "c": 0.14486,
    "h": 300.5
  },
  "luminance": 0.33985
}

Semantic roles & 50–950 ramp

primary
#B18BEE
secondary
#E9F3D8
accent
#D70F8A
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B18BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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