#B186EA#B186EA

#B186EA is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.1% C 0.148 H 302.6°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#B186EA
RGBrgb(177, 134, 234)
HSLhsl(266, 70%, 72%)
HSVhsv(266, 43%, 92%)
CMYKcmyk(24.4%, 42.7%, 0%, 8.2%)
CIE-LABlab(63.62, 36.14, -44.60)
CIE-LCHlch(63.62, 57.40, 309.02°)
OKLaboklab(70.1% 0.0796 -0.1245)
OKLCHoklch(70.1% 0.148 302.6)
XYZxyz(41.5046, 32.3378, 81.8812)
Luminance0.3234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B186EA #BFEA86
analogous
#868DEA #B186EA #E386EA
triadic
#B186EA #EAB186 #86EAB1
tetradic
#B186EA #EA868D #BFEA86 #86EAE3
square
#B186EA #EA868D #BFEA86 #86EAE3
split-complementary
#B186EA #EAE386 #8DEA86
monochromatic
#6F24D1 #8F52E1 #B186EA #D3BAF3 #EEE5FA

Accessibility & contrast

On white

2.81
#B186EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#B186EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B186EA
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B186EA#FFFFFF#000000##000000
##B186EA1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C99EE
Deuteranopia (green-blind)
#759AE7
Tritanopia (blue-blind)
#A797AD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b186ea;
/* rgb */ color: rgb(177, 134, 234);
/* oklch */ color: oklch(70.1% 0.148 302.6);
Tailwind
colors: {
  custom: {
    50: '#caaaf1',
    500: '#b186ea',
    950: '#000000',
  },
}
SCSS
$custom: #b186ea;
$custom-light: #caaaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b186ea",
  "rgb": {
    "r": 177,
    "g": 134,
    "b": 234
  },
  "hsl": {
    "h": 265.8,
    "s": 70.423,
    "l": 72.157
  },
  "oklch": {
    "l": 0.701,
    "c": 0.14779,
    "h": 302.6
  },
  "luminance": 0.32338
}

Semantic roles & 50–950 ramp

primary
#B186EA
secondary
#E7F2D9
accent
#D21380
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B186EA

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

Preview Lab → · Contrast checker → · Palette generator →

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