#B186E5#B186E5

#B186E5 is a light, vivid violet. Relative luminance 0.321; OKLCH L 69.8% C 0.141 H 303.8°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#B186E5
RGBrgb(177, 134, 229)
HSLhsl(267, 65%, 71%)
HSVhsv(267, 41%, 90%)
CMYKcmyk(22.7%, 41.5%, 0%, 10.2%)
CIE-LABlab(63.39, 34.98, -42.19)
CIE-LCHlch(63.39, 54.81, 309.66°)
OKLaboklab(69.85% 0.0788 -0.1175)
OKLCHoklch(69.85% 0.142 303.8)
XYZxyz(40.7964, 32.0546, 78.1515)
Luminance0.3205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B186E5 #BAE586
analogous
#868AE5 #B186E5 #E086E5
triadic
#B186E5 #E5B186 #86E5B1
tetradic
#B186E5 #E5868A #BAE586 #86E5E0
square
#B186E5 #E5868A #BAE586 #86E5E0
split-complementary
#B186E5 #E5E086 #8AE586
monochromatic
#712BC6 #9154DA #B186E5 #D1B8F0 #EFE6FA

Accessibility & contrast

On white

2.83
#B186E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#B186E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B186E5
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B186E5#FFFFFF#000000##000000
##B186E51.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E98E9
Deuteranopia (green-blind)
#7899E2
Tritanopia (blue-blind)
#A896AB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b186e5;
/* rgb */ color: rgb(177, 134, 229);
/* oklch */ color: oklch(69.8% 0.141 303.8);
Tailwind
colors: {
  custom: {
    50: '#caaaed',
    500: '#b186e5',
    950: '#000000',
  },
}
SCSS
$custom: #b186e5;
$custom-light: #caaaed;
$custom-dark: #000000;
JSON
{
  "hex": "#b186e5",
  "rgb": {
    "r": 177,
    "g": 134,
    "b": 229
  },
  "hsl": {
    "h": 267.158,
    "s": 64.626,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69848,
    "c": 0.1415,
    "h": 303.8
  },
  "luminance": 0.32054
}

Semantic roles & 50–950 ramp

primary
#B186E5
secondary
#E5F0D7
accent
#CC197B
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B186E5

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

Preview Lab → · Contrast checker → · Palette generator →

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