#B186EE#B186EE

#B186EE is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.3% C 0.153 H 301.7°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#B186EE
RGBrgb(177, 134, 238)
HSLhsl(265, 75%, 73%)
HSVhsv(265, 44%, 93%)
CMYKcmyk(25.6%, 43.7%, 0%, 6.7%)
CIE-LABlab(63.81, 37.08, -46.51)
CIE-LCHlch(63.81, 59.48, 308.57°)
OKLaboklab(70.31% 0.0802 -0.13)
OKLCHoklch(70.31% 0.153 301.7)
XYZxyz(42.0857, 32.5703, 84.9418)
Luminance0.3257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B186EE #C3EE86
analogous
#868FEE #B186EE #E586EE
triadic
#B186EE #EEB186 #86EEB1
tetradic
#B186EE #EE868F #C3EE86 #86EEE5
square
#B186EE #EE868F #C3EE86 #86EEE5
split-complementary
#B186EE #EEE586 #8FEE86
monochromatic
#6D1FDB #8E50E6 #B186EE #D4BCF6 #EEE4FB

Accessibility & contrast

On white

2.79
#B186EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B186EE#FFFFFF#000000##000000
##B186EE1.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF2
Deuteranopia (green-blind)
#739AEB
Tritanopia (blue-blind)
#A698AF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b186ee;
/* rgb */ color: rgb(177, 134, 238);
/* oklch */ color: oklch(70.3% 0.153 301.7);
Tailwind
colors: {
  custom: {
    50: '#caaaf4',
    500: '#b186ee',
    950: '#000000',
  },
}
SCSS
$custom: #b186ee;
$custom-light: #caaaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b186ee",
  "rgb": {
    "r": 177,
    "g": 134,
    "b": 238
  },
  "hsl": {
    "h": 264.808,
    "s": 75.362,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70306,
    "c": 0.15281,
    "h": 301.7
  },
  "luminance": 0.3257
}

Semantic roles & 50–950 ramp

primary
#B186EE
secondary
#E8F3D8
accent
#D80E84
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B186EE

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

Preview Lab → · Contrast checker → · Palette generator →

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