#B186CF#B186CF

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

Color values

HEX#B186CF
RGBrgb(177, 134, 207)
HSLhsl(275, 43%, 67%)
HSVhsv(275, 35%, 81%)
CMYKcmyk(14.5%, 35.3%, 0%, 18.8%)
CIE-LABlab(62.43, 30.03, -31.43)
CIE-LCHlch(62.43, 43.47, 313.70°)
OKLaboklab(68.8% 0.0742 -0.0866)
OKLCHoklch(68.8% 0.114 310.6)
XYZxyz(37.9171, 30.9028, 62.9867)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B186CF #A4CF86
analogous
#8D86CF #B186CF #CF86C9
triadic
#B186CF #CFB186 #86CFB1
tetradic
#B186CF #CF8D86 #A4CF86 #86C9CF
square
#B186CF #CF8D86 #A4CF86 #86C9CF
split-complementary
#B186CF #C9CF86 #86CF8D
monochromatic
#763E9D #955ABE #B186CF #CDB2E0 #E9DEF2

Accessibility & contrast

On white

2.92
#B186CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#B186CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B186CF
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B186CF#FFFFFF#000000##000000
##B186CF1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7995D2
Deuteranopia (green-blind)
#8298CD
Tritanopia (blue-blind)
#AE90A1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b186cf;
/* rgb */ color: rgb(177, 134, 207);
/* oklch */ color: oklch(68.8% 0.114 310.6);
Tailwind
colors: {
  custom: {
    50: '#c9a9de',
    500: '#b186cf',
    950: '#000000',
  },
}
SCSS
$custom: #b186cf;
$custom-light: #c9a9de;
$custom-dark: #000000;
JSON
{
  "hex": "#b186cf",
  "rgb": {
    "r": 177,
    "g": 134,
    "b": 207
  },
  "hsl": {
    "h": 275.342,
    "s": 43.195,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68804,
    "c": 0.11402,
    "h": 310.6
  },
  "luminance": 0.30902
}

Semantic roles & 50–950 ramp

primary
#B186CF
secondary
#D6E4CD
accent
#B62F67
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B186CF

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

Preview Lab → · Contrast checker → · Palette generator →

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