#B186DB#B186DB

#B186DB is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.4% C 0.129 H 306.6°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#B186DB
RGBrgb(177, 134, 219)
HSLhsl(270, 54%, 69%)
HSVhsv(270, 39%, 86%)
CMYKcmyk(19.2%, 38.8%, 0%, 14.1%)
CIE-LABlab(62.94, 32.69, -37.34)
CIE-LCHlch(62.94, 49.63, 311.20°)
OKLaboklab(69.36% 0.0769 -0.1035)
OKLCHoklch(69.36% 0.129 306.6)
XYZxyz(39.4402, 31.5121, 71.0088)
Luminance0.3151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B186DB #B0DB86
analogous
#8786DB #B186DB #DB86DB
triadic
#B186DB #DBB186 #86DBB1
tetradic
#B186DB #DB8786 #B0DB86 #86DBDB
square
#B186DB #DB8786 #B0DB86 #86DBDB
split-complementary
#B186DB #DBDB86 #86DB87
monochromatic
#7435B2 #9357CD #B186DB #CFB5E9 #EEE4F7

Accessibility & contrast

On white

2.88
#B186DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#B186DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B186DB
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B186DB#FFFFFF#000000##000000
##B186DB1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7397DE
Deuteranopia (green-blind)
#7D99D9
Tritanopia (blue-blind)
#AB93A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b186db;
/* rgb */ color: rgb(177, 134, 219);
/* oklch */ color: oklch(69.4% 0.129 306.6);
Tailwind
colors: {
  custom: {
    50: '#c9aae6',
    500: '#b186db',
    950: '#000000',
  },
}
SCSS
$custom: #b186db;
$custom-light: #c9aae6;
$custom-dark: #000000;
JSON
{
  "hex": "#b186db",
  "rgb": {
    "r": 177,
    "g": 134,
    "b": 219
  },
  "hsl": {
    "h": 270.353,
    "s": 54.14,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6936,
    "c": 0.12894,
    "h": 306.6
  },
  "luminance": 0.31512
}

Semantic roles & 50–950 ramp

primary
#B186DB
secondary
#DEEBD2
accent
#C22472
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B186DB

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

Preview Lab → · Contrast checker → · Palette generator →

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