#B186CE#B186CE

#B186CE is a light, moderate violet. Relative luminance 0.309; OKLCH L 68.8% C 0.113 H 311.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#B186CE
RGBrgb(177, 134, 206)
HSLhsl(276, 42%, 67%)
HSVhsv(276, 35%, 81%)
CMYKcmyk(14.1%, 35%, 0%, 19.2%)
CIE-LABlab(62.38, 29.82, -30.93)
CIE-LCHlch(62.38, 42.96, 313.95°)
OKLaboklab(68.76% 0.074 -0.0851)
OKLCHoklch(68.76% 0.113 311)
XYZxyz(37.7952, 30.8541, 62.3449)
Luminance0.3085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B186CE #A3CE86
analogous
#8D86CE #B186CE #CE86C7
triadic
#B186CE #CEB186 #86CEB1
tetradic
#B186CE #CE8D86 #A3CE86 #86C7CE
square
#B186CE #CE8D86 #A3CE86 #86C7CE
split-complementary
#B186CE #C7CE86 #86CE8D
monochromatic
#763F9B #955ABC #B186CE #CDB2E0 #E9DDF1

Accessibility & contrast

On white

2.93
#B186CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#B186CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B186CE
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B186CE#FFFFFF#000000##000000
##B186CE1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7995D1
Deuteranopia (green-blind)
#8398CC
Tritanopia (blue-blind)
#AE90A1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b186ce;
/* rgb */ color: rgb(177, 134, 206);
/* oklch */ color: oklch(68.8% 0.113 311.0);
Tailwind
colors: {
  custom: {
    50: '#c9a9dd',
    500: '#b186ce',
    950: '#000000',
  },
}
SCSS
$custom: #b186ce;
$custom-light: #c9a9dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b186ce",
  "rgb": {
    "r": 177,
    "g": 134,
    "b": 206
  },
  "hsl": {
    "h": 275.833,
    "s": 42.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68759,
    "c": 0.1128,
    "h": 311
  },
  "luminance": 0.30854
}

Semantic roles & 50–950 ramp

primary
#B186CE
secondary
#D6E3CC
accent
#B53066
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B186CE

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

Preview Lab → · Contrast checker → · Palette generator →

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